Class ReaderInterceptorRegistry.MessageBodyReaderContextFacade
java.lang.Object
org.jboss.resteasy.core.interception.ReaderInterceptorRegistry.MessageBodyReaderContextFacade
- All Implemented Interfaces:
MessageBodyReaderContext
- Enclosing class:
- ReaderInterceptorRegistry
private static class ReaderInterceptorRegistry.MessageBodyReaderContextFacade
extends Object
implements MessageBodyReaderContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final javax.ws.rs.ext.ReaderInterceptorContext
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
MessageBodyReaderContextFacade
(javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(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.javax.ws.rs.core.MediaType
getType()
proceed()
void
removeAttribute
(String name) void
setAnnotations
(Annotation[] annotations) void
setAttribute
(String name, Object value) void
setGenericType
(Type genericType) void
void
setMediaType
(javax.ws.rs.core.MediaType mediaType) void
-
Field Details
-
readerInterceptorContext
protected final javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext
-
-
Constructor Details
-
MessageBodyReaderContextFacade
private MessageBodyReaderContextFacade(javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessageBodyReaderContext
-
setType
- Specified by:
setType
in interfaceMessageBodyReaderContext
-
getGenericType
- Specified by:
getGenericType
in interfaceMessageBodyReaderContext
-
setGenericType
- Specified by:
setGenericType
in interfaceMessageBodyReaderContext
-
getAnnotations
- Specified by:
getAnnotations
in interfaceMessageBodyReaderContext
-
setAnnotations
- Specified by:
setAnnotations
in interfaceMessageBodyReaderContext
-
getMediaType
public javax.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaType
in interfaceMessageBodyReaderContext
-
setMediaType
public void setMediaType(javax.ws.rs.core.MediaType mediaType) - Specified by:
setMediaType
in interfaceMessageBodyReaderContext
-
getHeaders
- Specified by:
getHeaders
in interfaceMessageBodyReaderContext
-
getInputStream
- Specified by:
getInputStream
in interfaceMessageBodyReaderContext
-
setInputStream
- Specified by:
setInputStream
in interfaceMessageBodyReaderContext
-
getAttribute
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.- Specified by:
getAttribute
in interfaceMessageBodyReaderContext
- Returns:
-
setAttribute
- Specified by:
setAttribute
in interfaceMessageBodyReaderContext
-
removeAttribute
- Specified by:
removeAttribute
in interfaceMessageBodyReaderContext
-
proceed
- Specified by:
proceed
in interfaceMessageBodyReaderContext
- Throws:
IOException
javax.ws.rs.WebApplicationException
-