Class 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 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TerminalReaderInterceptor

        private TerminalReaderInterceptor()
    • 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 interface javax.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