public interface MessageBodyReaderContext
Modifier and Type | Method and Description |
---|---|
Annotation[] |
getAnnotations() |
Object |
getAttribute(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.
|
Type |
getGenericType() |
MultivaluedMap<String,String> |
getHeaders() |
InputStream |
getInputStream() |
MediaType |
getMediaType() |
Class |
getType() |
Object |
proceed() |
void |
removeAttribute(String name) |
void |
setAnnotations(Annotation[] annotations) |
void |
setAttribute(String name,
Object value) |
void |
setGenericType(Type genericType) |
void |
setInputStream(InputStream is) |
void |
setMediaType(MediaType mediaType) |
void |
setType(Class type) |
Class getType()
void setType(Class type)
Type getGenericType()
void setGenericType(Type genericType)
Annotation[] getAnnotations()
void setAnnotations(Annotation[] annotations)
MediaType getMediaType()
void setMediaType(MediaType mediaType)
MultivaluedMap<String,String> getHeaders()
InputStream getInputStream()
void setInputStream(InputStream is)
Object getAttribute(String attribute)
void removeAttribute(String name)
Object proceed() throws IOException, WebApplicationException
IOException
WebApplicationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.