Class ReaderInterceptorChain

    • Method Detail

      • proceed

        public void proceed​(Reader reader,
                            Consumer<StreamElement> streamElement)
                     throws Exception
        Proceeds to the next interceptor if present.
        Parameters:
        reader - The reader.
        streamElement - Consumes the read stream element.
        Throws:
        Exception - Any exception happening during interception.
      • getSession

        public final Session getSession()
        Gets the session.
        Returns:
        The session.
      • getConnection

        public final Connection getConnection()
        Gets the connection to which the interceptor chain is applied.
        Returns:
        The connection.