|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.stanbol.entityhub.jersey.utils.MessageBodyReaderUtils.RequestData
public static class MessageBodyReaderUtils.RequestData
Simple class that holds the MediaType, Name and the content as
InputStream.
| Constructor Summary | |
|---|---|
MessageBodyReaderUtils.RequestData(javax.ws.rs.core.MediaType mediaType,
String contentName,
InputStream entityStream)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageBodyReaderUtils.RequestData(javax.ws.rs.core.MediaType mediaType,
String contentName,
InputStream entityStream)
| Method Detail |
|---|
public javax.ws.rs.core.MediaType getMediaType()
null if not known
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||