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
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,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream,
HttpRequest request)
getAttribute
public Object getAttribute(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(String name,
Object value)
removeAttribute
public void removeAttribute(String name)
Copyright © 2012. All Rights Reserved.