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 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 Details

    • TerminalReaderInterceptor

      private TerminalReaderInterceptor()
  • Method Details

    • aroundReadFrom

      public Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException
      Specified by:
      aroundReadFrom in interface javax.ws.rs.ext.ReaderInterceptor
      Throws:
      IOException
      javax.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.WebApplicationException
      IOException