Class ReaderInterceptorExecutor.TerminalReaderInterceptor
java.lang.Object
org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.TerminalReaderInterceptor
- All Implemented Interfaces:
javax.ws.rs.ext.ReaderInterceptor
- Enclosing class:
ReaderInterceptorExecutor
private class ReaderInterceptorExecutor.TerminalReaderInterceptor
extends Object
implements javax.ws.rs.ext.ReaderInterceptor
Terminal reader interceptor which choose the appropriate
1. choose the appropriate
3. reads the entity from the output stream
MessageBodyReader
and reads the entity from the input stream. The order of actions is the following: 1. choose the appropriate
MessageBodyReader 3. reads the entity from the output stream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) private ObjectinvokeReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context, javax.ws.rs.ext.MessageBodyReader reader, EntityInputStream input)
-
Constructor Details
-
TerminalReaderInterceptor
private TerminalReaderInterceptor()
-
-
Method Details
-
aroundReadFrom
public Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException - Specified by:
aroundReadFromin interfacejavax.ws.rs.ext.ReaderInterceptor- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-
invokeReadFrom
private Object invokeReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context, javax.ws.rs.ext.MessageBodyReader reader, EntityInputStream input) throws javax.ws.rs.WebApplicationException, IOException - Throws:
javax.ws.rs.WebApplicationExceptionIOException
-