public class ClientMessageBodyReaderContext extends MessageBodyReaderContextImpl
annotations, genericType, headers, index, inputStream, interceptors, mediaType, reader, type
Constructor and Description |
---|
ClientMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors,
MessageBodyReader reader,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream,
Map<String,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
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) |
getAnnotations, getGenericType, getHeaders, getInputStream, getMediaType, getType, proceed, setAnnotations, setGenericType, setInputStream, setMediaType, setType
public ClientMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors, MessageBodyReader reader, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> headers, InputStream inputStream, Map<String,Object> attributes)
public Object getAttribute(String attribute)
MessageBodyReaderContext
public void removeAttribute(String name)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.