Class Http11Nio2Protocol

All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

public class Http11Nio2Protocol extends AbstractHttp11JsseProtocol<Nio2Channel>
HTTP/1.1 protocol implementation using NIO2.
  • Constructor Details

    • Http11Nio2Protocol

      public Http11Nio2Protocol()
    • Http11Nio2Protocol

      public Http11Nio2Protocol(Nio2Endpoint endpoint)
  • Method Details

    • getLog

      protected Log getLog()
      Description copied from class: AbstractProtocol
      Concrete implementations need to provide access to their logger to be used by the abstract classes.
      Specified by:
      getLog in class AbstractProtocol<Nio2Channel>
      Returns:
      the logger
    • getNamePrefix

      protected String getNamePrefix()
      Description copied from class: AbstractProtocol
      Obtain the prefix to be used when construction a name for this protocol handler. The name will be prefix-address-port.
      Specified by:
      getNamePrefix in class AbstractProtocol<Nio2Channel>
      Returns:
      the prefix