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.ReaderInterceptorContextreaderInterceptorContext
-
Constructor Summary
Constructors Modifier Constructor Description privateMessageBodyReaderContextFacade(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.ObjectgetAttribute(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.TypegetGenericType()javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>getHeaders()java.io.InputStreamgetInputStream()javax.ws.rs.core.MediaTypegetMediaType()java.lang.ClassgetType()java.lang.Objectproceed()voidremoveAttribute(java.lang.String name)voidsetAnnotations(java.lang.annotation.Annotation[] annotations)voidsetAttribute(java.lang.String name, java.lang.Object value)voidsetGenericType(java.lang.reflect.Type genericType)voidsetInputStream(java.io.InputStream is)voidsetMediaType(javax.ws.rs.core.MediaType mediaType)voidsetType(java.lang.Class type)
-
-
-
Method Detail
-
getType
public java.lang.Class getType()
- Specified by:
getTypein interfaceMessageBodyReaderContext
-
setType
public void setType(java.lang.Class type)
- Specified by:
setTypein interfaceMessageBodyReaderContext
-
getGenericType
public java.lang.reflect.Type getGenericType()
- Specified by:
getGenericTypein interfaceMessageBodyReaderContext
-
setGenericType
public void setGenericType(java.lang.reflect.Type genericType)
- Specified by:
setGenericTypein interfaceMessageBodyReaderContext
-
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfaceMessageBodyReaderContext
-
setAnnotations
public void setAnnotations(java.lang.annotation.Annotation[] annotations)
- 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
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
- Specified by:
getHeadersin interfaceMessageBodyReaderContext
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStreamin interfaceMessageBodyReaderContext
-
setInputStream
public void setInputStream(java.io.InputStream is)
- Specified by:
setInputStreamin interfaceMessageBodyReaderContext
-
getAttribute
public java.lang.Object getAttribute(java.lang.String attribute)
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
public void setAttribute(java.lang.String name, java.lang.Object value)- Specified by:
setAttributein interfaceMessageBodyReaderContext
-
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttributein interfaceMessageBodyReaderContext
-
proceed
public java.lang.Object proceed() throws java.io.IOException, javax.ws.rs.WebApplicationException- Specified by:
proceedin interfaceMessageBodyReaderContext- Throws:
java.io.IOExceptionjavax.ws.rs.WebApplicationException
-
-