Interface OutboundAccess

All Superinterfaces:
NettyWriteContext
All Known Implementing Classes:
PipeliningServerHandler.OutboundAccessImpl

@Internal public interface OutboundAccess extends NettyWriteContext
Since:
4.4.0
  • Method Details

    • attachment

      void attachment(Object attachment)
      Register an attachment that will be passed to RequestHandler.responseWritten(Object).
      Parameters:
      attachment - The attachment
    • closeAfterWrite

      void closeAfterWrite()
      Close this HTTP/1.1 connection after this response has been written, e.g. when there's an unrecoverable error that may corrupt future requests. This method has no effect on HTTP/2.