Class WriterInterceptorChain

    • Method Detail

      • proceed

        public void proceed​(StreamElement streamElement,
                            Writer writer)
                     throws Exception
        Proceeds to the next interceptor if present.
        Parameters:
        streamElement - The stream element.
        writer - The writer.
        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.