public static class MessageBodyReaderUtils.RequestData extends Object
InputStream.| Constructor and Description |
|---|
MessageBodyReaderUtils.RequestData(javax.ws.rs.core.MediaType mediaType,
String contentName,
InputStream entityStream) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getEntityStream()
The stream with the data
|
javax.ws.rs.core.MediaType |
getMediaType()
The media type or
null if not known |
String |
getName()
The name of the content (e.g. the parameter used to parse the content
or the filename provided by the
BodyPart) or null
if not present. |
public MessageBodyReaderUtils.RequestData(javax.ws.rs.core.MediaType mediaType,
String contentName,
InputStream entityStream)
public javax.ws.rs.core.MediaType getMediaType()
null if not knownpublic InputStream getEntityStream()
public String getName()
BodyPart) or null
if not present. The documentation of methods returning instances of
this class should document what is used as name.Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.