org.jboss.resteasy.spi.interception
Interface MessageBodyReaderContext
- All Known Implementing Classes:
- ClientMessageBodyReaderContext, MessageBodyReaderContextImpl, ServerMessageBodyReaderContext
public interface MessageBodyReaderContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
getType
Class getType()
setType
void setType(Class type)
getGenericType
Type getGenericType()
setGenericType
void setGenericType(Type genericType)
getAnnotations
Annotation[] getAnnotations()
setAnnotations
void setAnnotations(Annotation[] annotations)
getMediaType
MediaType getMediaType()
setMediaType
void setMediaType(MediaType mediaType)
getHeaders
MultivaluedMap<String,String> getHeaders()
getInputStream
InputStream getInputStream()
setInputStream
void setInputStream(InputStream is)
getAttribute
Object getAttribute(String attribute)
- Allows you to pass values back and forth between interceptors
On the server side, this is the HttpRequest attributes, on the client side, this is the ClientRequest/ClientResponse
attributes.
- Returns:
setAttribute
void setAttribute(String name,
Object value)
removeAttribute
void removeAttribute(String name)
proceed
Object proceed()
throws IOException,
WebApplicationException
- Throws:
IOException
WebApplicationException
Copyright © 2011. All Rights Reserved.