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 java.lang.Object implements javax.ws.rs.ext.ReaderInterceptorTerminal reader interceptor which choose the appropriateMessageBodyReaderand reads the entity from the input stream. The order of actions is the following:
1. choose the appropriateMessageBodyReader
3. reads the entity from the output stream
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTerminalReaderInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectaroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)private java.lang.ObjectinvokeReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context, javax.ws.rs.ext.MessageBodyReader reader, EntityInputStream input)
-
-
-
Method Detail
-
aroundReadFrom
public java.lang.Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws java.io.IOException, javax.ws.rs.WebApplicationException- Specified by:
aroundReadFromin interfacejavax.ws.rs.ext.ReaderInterceptor- Throws:
java.io.IOExceptionjavax.ws.rs.WebApplicationException
-
invokeReadFrom
private java.lang.Object invokeReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context, javax.ws.rs.ext.MessageBodyReader reader, EntityInputStream input) throws javax.ws.rs.WebApplicationException, java.io.IOException- Throws:
javax.ws.rs.WebApplicationExceptionjava.io.IOException
-
-