public abstract class MessageBodyReaderContextImpl extends Object implements MessageBodyReaderContext
| Modifier and Type | Field and Description |
|---|---|
protected Annotation[] |
annotations |
protected Type |
genericType |
protected MultivaluedMap<String,String> |
headers |
protected int |
index |
protected InputStream |
inputStream |
protected MessageBodyReaderInterceptor[] |
interceptors |
protected MediaType |
mediaType |
protected MessageBodyReader |
reader |
protected Class |
type |
| Constructor and Description |
|---|
MessageBodyReaderContextImpl(MessageBodyReaderInterceptor[] interceptors,
MessageBodyReader reader,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
getAnnotations() |
Type |
getGenericType() |
MultivaluedMap<String,String> |
getHeaders() |
InputStream |
getInputStream() |
MediaType |
getMediaType() |
Class |
getType() |
Object |
proceed() |
void |
setAnnotations(Annotation[] annotations) |
void |
setGenericType(Type genericType) |
void |
setInputStream(InputStream inputStream) |
void |
setMediaType(MediaType mediaType) |
void |
setType(Class type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, removeAttribute, setAttributeprotected MessageBodyReaderInterceptor[] interceptors
protected MessageBodyReader reader
protected Class type
protected Type genericType
protected Annotation[] annotations
protected MediaType mediaType
protected MultivaluedMap<String,String> headers
protected InputStream inputStream
protected int index
public MessageBodyReaderContextImpl(MessageBodyReaderInterceptor[] interceptors, MessageBodyReader reader, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> headers, InputStream inputStream)
public Class getType()
getType in interface MessageBodyReaderContextpublic void setType(Class type)
setType in interface MessageBodyReaderContextpublic Type getGenericType()
getGenericType in interface MessageBodyReaderContextpublic void setGenericType(Type genericType)
setGenericType in interface MessageBodyReaderContextpublic Annotation[] getAnnotations()
getAnnotations in interface MessageBodyReaderContextpublic void setAnnotations(Annotation[] annotations)
setAnnotations in interface MessageBodyReaderContextpublic MediaType getMediaType()
getMediaType in interface MessageBodyReaderContextpublic void setMediaType(MediaType mediaType)
setMediaType in interface MessageBodyReaderContextpublic MultivaluedMap<String,String> getHeaders()
getHeaders in interface MessageBodyReaderContextpublic InputStream getInputStream()
getInputStream in interface MessageBodyReaderContextpublic void setInputStream(InputStream inputStream)
setInputStream in interface MessageBodyReaderContextpublic Object proceed() throws IOException, WebApplicationException
proceed in interface MessageBodyReaderContextIOExceptionWebApplicationExceptionCopyright © 2013. All Rights Reserved.