org.jboss.resteasy.core.interception
Class MessageBodyReaderContextImpl
java.lang.Object
org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl
- All Implemented Interfaces:
- MessageBodyReaderContext
- Direct Known Subclasses:
- ClientMessageBodyReaderContext, ServerMessageBodyReaderContext
public abstract class MessageBodyReaderContextImpl
- extends Object
- implements MessageBodyReaderContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interceptors
protected MessageBodyReaderInterceptor[] interceptors
reader
protected javax.ws.rs.ext.MessageBodyReader reader
type
protected Class type
genericType
protected Type genericType
annotations
protected Annotation[] annotations
mediaType
protected javax.ws.rs.core.MediaType mediaType
headers
protected javax.ws.rs.core.MultivaluedMap<String,String> headers
inputStream
protected InputStream inputStream
index
protected int index
MessageBodyReaderContextImpl
public MessageBodyReaderContextImpl(MessageBodyReaderInterceptor[] interceptors,
javax.ws.rs.ext.MessageBodyReader reader,
Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream inputStream)
getType
public Class getType()
- Specified by:
getType
in interface MessageBodyReaderContext
setType
public void setType(Class type)
- Specified by:
setType
in interface MessageBodyReaderContext
getGenericType
public Type getGenericType()
- Specified by:
getGenericType
in interface MessageBodyReaderContext
setGenericType
public void setGenericType(Type genericType)
- Specified by:
setGenericType
in interface MessageBodyReaderContext
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interface MessageBodyReaderContext
setAnnotations
public void setAnnotations(Annotation[] annotations)
- Specified by:
setAnnotations
in interface MessageBodyReaderContext
getMediaType
public javax.ws.rs.core.MediaType getMediaType()
- Specified by:
getMediaType
in interface MessageBodyReaderContext
setMediaType
public void setMediaType(javax.ws.rs.core.MediaType mediaType)
- Specified by:
setMediaType
in interface MessageBodyReaderContext
getHeaders
public javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
- Specified by:
getHeaders
in interface MessageBodyReaderContext
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interface MessageBodyReaderContext
setInputStream
public void setInputStream(InputStream inputStream)
- Specified by:
setInputStream
in interface MessageBodyReaderContext
proceed
public Object proceed()
throws IOException,
javax.ws.rs.WebApplicationException
- Specified by:
proceed
in interface MessageBodyReaderContext
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.