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 java.lang.Object implements MessageBodyReaderContext
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.ws.rs.ext.ReaderInterceptorContext
readerInterceptorContext
-
Constructor Summary
Constructors Modifier Constructor Description private
MessageBodyReaderContextFacade(javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.annotation.Annotation[]
getAnnotations()
java.lang.Object
getAttribute(java.lang.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.java.lang.reflect.Type
getGenericType()
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>
getHeaders()
java.io.InputStream
getInputStream()
javax.ws.rs.core.MediaType
getMediaType()
java.lang.Class
getType()
java.lang.Object
proceed()
void
removeAttribute(java.lang.String name)
void
setAnnotations(java.lang.annotation.Annotation[] annotations)
void
setAttribute(java.lang.String name, java.lang.Object value)
void
setGenericType(java.lang.reflect.Type genericType)
void
setInputStream(java.io.InputStream is)
void
setMediaType(javax.ws.rs.core.MediaType mediaType)
void
setType(java.lang.Class type)
-
-
-
Method Detail
-
getType
public java.lang.Class getType()
- Specified by:
getType
in interfaceMessageBodyReaderContext
-
setType
public void setType(java.lang.Class type)
- Specified by:
setType
in interfaceMessageBodyReaderContext
-
getGenericType
public java.lang.reflect.Type getGenericType()
- Specified by:
getGenericType
in interfaceMessageBodyReaderContext
-
setGenericType
public void setGenericType(java.lang.reflect.Type genericType)
- Specified by:
setGenericType
in interfaceMessageBodyReaderContext
-
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interfaceMessageBodyReaderContext
-
setAnnotations
public void setAnnotations(java.lang.annotation.Annotation[] annotations)
- 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
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
- Specified by:
getHeaders
in interfaceMessageBodyReaderContext
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream
in interfaceMessageBodyReaderContext
-
setInputStream
public void setInputStream(java.io.InputStream is)
- Specified by:
setInputStream
in interfaceMessageBodyReaderContext
-
getAttribute
public java.lang.Object getAttribute(java.lang.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.- Specified by:
getAttribute
in interfaceMessageBodyReaderContext
- Returns:
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object value)
- Specified by:
setAttribute
in interfaceMessageBodyReaderContext
-
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute
in interfaceMessageBodyReaderContext
-
proceed
public java.lang.Object proceed() throws java.io.IOException, javax.ws.rs.WebApplicationException
- Specified by:
proceed
in interfaceMessageBodyReaderContext
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
-
-