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, wait
getAttribute, removeAttribute, setAttribute
protected 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 MessageBodyReaderContext
public void setType(Class type)
setType
in interface MessageBodyReaderContext
public Type getGenericType()
getGenericType
in interface MessageBodyReaderContext
public void setGenericType(Type genericType)
setGenericType
in interface MessageBodyReaderContext
public Annotation[] getAnnotations()
getAnnotations
in interface MessageBodyReaderContext
public void setAnnotations(Annotation[] annotations)
setAnnotations
in interface MessageBodyReaderContext
public MediaType getMediaType()
getMediaType
in interface MessageBodyReaderContext
public void setMediaType(MediaType mediaType)
setMediaType
in interface MessageBodyReaderContext
public MultivaluedMap<String,String> getHeaders()
getHeaders
in interface MessageBodyReaderContext
public InputStream getInputStream()
getInputStream
in interface MessageBodyReaderContext
public void setInputStream(InputStream inputStream)
setInputStream
in interface MessageBodyReaderContext
public Object proceed() throws IOException, WebApplicationException
proceed
in interface MessageBodyReaderContext
IOException
WebApplicationException
Copyright © 2013. All Rights Reserved.