private static class ReaderInterceptorRegistry.MessageBodyReaderContextFacade extends java.lang.Object implements MessageBodyReaderContext
| Modifier and Type | Field and Description |
|---|---|
protected javax.ws.rs.ext.ReaderInterceptorContext |
readerInterceptorContext |
| Modifier | Constructor and Description |
|---|---|
private |
MessageBodyReaderContextFacade(javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext) |
| Modifier and Type | Method and 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) |
protected final javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext
private MessageBodyReaderContextFacade(javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext)
public java.lang.Class getType()
getType in interface MessageBodyReaderContextpublic void setType(java.lang.Class type)
setType in interface MessageBodyReaderContextpublic java.lang.reflect.Type getGenericType()
getGenericType in interface MessageBodyReaderContextpublic void setGenericType(java.lang.reflect.Type genericType)
setGenericType in interface MessageBodyReaderContextpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface MessageBodyReaderContextpublic void setAnnotations(java.lang.annotation.Annotation[] annotations)
setAnnotations in interface MessageBodyReaderContextpublic javax.ws.rs.core.MediaType getMediaType()
getMediaType in interface MessageBodyReaderContextpublic void setMediaType(javax.ws.rs.core.MediaType mediaType)
setMediaType in interface MessageBodyReaderContextpublic javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
getHeaders in interface MessageBodyReaderContextpublic java.io.InputStream getInputStream()
getInputStream in interface MessageBodyReaderContextpublic void setInputStream(java.io.InputStream is)
setInputStream in interface MessageBodyReaderContextpublic java.lang.Object getAttribute(java.lang.String attribute)
MessageBodyReaderContextgetAttribute in interface MessageBodyReaderContextpublic void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface MessageBodyReaderContextpublic void removeAttribute(java.lang.String name)
removeAttribute in interface MessageBodyReaderContextpublic java.lang.Object proceed()
throws java.io.IOException,
javax.ws.rs.WebApplicationException
proceed in interface MessageBodyReaderContextjava.io.IOExceptionjavax.ws.rs.WebApplicationException