org.jboss.resteasy.core.interception
Class ServerMessageBodyReaderContext

java.lang.Object
  extended by org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl
      extended by org.jboss.resteasy.core.interception.ServerMessageBodyReaderContext
All Implemented Interfaces:
MessageBodyReaderContext

public class ServerMessageBodyReaderContext
extends MessageBodyReaderContextImpl

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl
annotations, genericType, headers, index, inputStream, interceptors, mediaType, reader, type
 
Constructor Summary
ServerMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors, MessageBodyReader reader, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> headers, InputStream inputStream, HttpRequest request)
           
 
Method Summary
 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.
 void removeAttribute(String name)
           
 void setAttribute(String name, 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
 

Constructor Detail

ServerMessageBodyReaderContext

public ServerMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors,
                                      MessageBodyReader reader,
                                      Class type,
                                      Type genericType,
                                      Annotation[] annotations,
                                      MediaType mediaType,
                                      MultivaluedMap<String,String> headers,
                                      InputStream inputStream,
                                      HttpRequest request)
Method Detail

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.