org.jboss.resteasy.core.interception
Class ServerMessageBodyReaderContext
java.lang.Object
org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl
org.jboss.resteasy.core.interception.ServerMessageBodyReaderContext
- All Implemented Interfaces:
- MessageBodyReaderContext
public class ServerMessageBodyReaderContext
- extends MessageBodyReaderContextImpl
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
java.lang.Object |
getAttribute(java.lang.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. |
void |
removeAttribute(java.lang.String name)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
Methods inherited from class org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl |
getAnnotations, getGenericType, getHeaders, getInputStream, getMediaType, getType, proceed, setAnnotations, setGenericType, setInputStream, setMediaType, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerMessageBodyReaderContext
public ServerMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors,
MessageBodyReader reader,
java.lang.Class type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.String> headers,
java.io.InputStream inputStream,
HttpRequest request)
getAttribute
public java.lang.Object getAttribute(java.lang.String attribute)
- Description copied from interface:
MessageBodyReaderContext
- 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
public void setAttribute(java.lang.String name,
java.lang.Object value)
removeAttribute
public void removeAttribute(java.lang.String name)
Copyright © 2011. All Rights Reserved.