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.ReaderInterceptor
Terminal reader interceptor which choose the appropriateMessageBodyReader
and 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 private
TerminalReaderInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)
private java.lang.Object
invokeReadFrom(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:
aroundReadFrom
in interfacejavax.ws.rs.ext.ReaderInterceptor
- Throws:
java.io.IOException
javax.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.WebApplicationException
java.io.IOException
-
-