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
ConstructorsModifierConstructorDescriptionprivateMessageBodyReaderContextFacade(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.MediaTypegetType()proceed()voidremoveAttribute(String name) voidsetAnnotations(Annotation[] annotations) voidsetAttribute(String name, Object value) voidsetGenericType(Type genericType) voidvoidsetMediaType(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:
getTypein interfaceMessageBodyReaderContext
-
setType
- Specified by:
setTypein interfaceMessageBodyReaderContext
-
getGenericType
- Specified by:
getGenericTypein interfaceMessageBodyReaderContext
-
setGenericType
- Specified by:
setGenericTypein interfaceMessageBodyReaderContext
-
getAnnotations
- Specified by:
getAnnotationsin interfaceMessageBodyReaderContext
-
setAnnotations
- Specified by:
setAnnotationsin interfaceMessageBodyReaderContext
-
getMediaType
public javax.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaTypein interfaceMessageBodyReaderContext
-
setMediaType
public void setMediaType(javax.ws.rs.core.MediaType mediaType) - Specified by:
setMediaTypein interfaceMessageBodyReaderContext
-
getHeaders
- Specified by:
getHeadersin interfaceMessageBodyReaderContext
-
getInputStream
- Specified by:
getInputStreamin interfaceMessageBodyReaderContext
-
setInputStream
- Specified by:
setInputStreamin interfaceMessageBodyReaderContext
-
getAttribute
Description copied from interface:MessageBodyReaderContextAllows 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:
getAttributein interfaceMessageBodyReaderContext- Returns:
-
setAttribute
- Specified by:
setAttributein interfaceMessageBodyReaderContext
-
removeAttribute
- Specified by:
removeAttributein interfaceMessageBodyReaderContext
-
proceed
- Specified by:
proceedin interfaceMessageBodyReaderContext- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-