Class Http11NioProtocol

All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

public class Http11NioProtocol extends AbstractHttp11Protocol<NioChannel>
HTTP/1.1 protocol implementation using NIO.
  • Constructor Details

    • Http11NioProtocol

      public Http11NioProtocol()
    • Http11NioProtocol

      public Http11NioProtocol(NioEndpoint 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<NioChannel>
      the logger
    • setSelectorTimeout

      public void setSelectorTimeout(long timeout)
    • getSelectorTimeout

      public long getSelectorTimeout()
    • setPollerThreadPriority

      public void setPollerThreadPriority(int threadPriority)
    • getPollerThreadPriority

      public int getPollerThreadPriority()
    • createProcessor

      protected Processor createProcessor()
      Description copied from class: AbstractProtocol
      Create and configure a new Processor instance for the current protocol implementation.
      Specified by:
      createProcessor in class AbstractHttp11Protocol<NioChannel>
      A fully configured Processor instance that is ready to use
    • 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<NioChannel>
      the prefix