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 MessageBodyReaderContext
public void setType(java.lang.Class type)
setType
in interface MessageBodyReaderContext
public java.lang.reflect.Type getGenericType()
getGenericType
in interface MessageBodyReaderContext
public void setGenericType(java.lang.reflect.Type genericType)
setGenericType
in interface MessageBodyReaderContext
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface MessageBodyReaderContext
public void setAnnotations(java.lang.annotation.Annotation[] annotations)
setAnnotations
in interface MessageBodyReaderContext
public javax.ws.rs.core.MediaType getMediaType()
getMediaType
in interface MessageBodyReaderContext
public void setMediaType(javax.ws.rs.core.MediaType mediaType)
setMediaType
in interface MessageBodyReaderContext
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
getHeaders
in interface MessageBodyReaderContext
public java.io.InputStream getInputStream()
getInputStream
in interface MessageBodyReaderContext
public void setInputStream(java.io.InputStream is)
setInputStream
in interface MessageBodyReaderContext
public java.lang.Object getAttribute(java.lang.String attribute)
MessageBodyReaderContext
getAttribute
in interface MessageBodyReaderContext
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface MessageBodyReaderContext
public void removeAttribute(java.lang.String name)
removeAttribute
in interface MessageBodyReaderContext
public java.lang.Object proceed() throws java.io.IOException, javax.ws.rs.WebApplicationException
proceed
in interface MessageBodyReaderContext
java.io.IOException
javax.ws.rs.WebApplicationException