|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReaderInterceptorContext
Context class used by ReaderInterceptor
to intercept calls to (@link javax.ws.rs.ext.MessageBodyReader#readFrom}.
The getters and setters in this context class correspond to the
parameters of the intercepted method.
ReaderInterceptor,
MessageBodyReader| Method Summary | |
|---|---|
MultivaluedMap<String,String> |
getHeaders()
Get mutable map of HTTP headers. |
InputStream |
getInputStream()
Get the input stream of the object to be read. |
Object |
proceed()
Proceed to the next interceptor in the chain. |
void |
setInputStream(InputStream is)
Update the input stream of the object to be read. |
| Methods inherited from interface javax.ws.rs.ext.InterceptorContext |
|---|
getAnnotations, getGenericType, getMediaType, getProperty, getPropertyNames, getType, removeProperty, setAnnotations, setGenericType, setMediaType, setProperty, setType |
| Method Detail |
|---|
Object proceed()
throws IOException
MessageBodyReader.readFrom(java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap, java.io.InputStream) .
IOException - if an IO error arisesInputStream getInputStream()
void setInputStream(InputStream is)
is - new input streamMultivaluedMap<String,String> getHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||