org.jboss.resteasy.client.core
Class ClientMessageBodyReaderContext
java.lang.Object
org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl
org.jboss.resteasy.client.core.ClientMessageBodyReaderContext
- All Implemented Interfaces:
- MessageBodyReaderContext
public class ClientMessageBodyReaderContext
- extends MessageBodyReaderContextImpl
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Constructor Summary |
ClientMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors,
MessageBodyReader reader,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream,
Map<String,Object> attributes)
|
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 |
ClientMessageBodyReaderContext
public ClientMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors,
MessageBodyReader reader,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream,
Map<String,Object> attributes)
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 © 2011. All Rights Reserved.