Class Http11AprProtocol

All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

@Deprecated public class Http11AprProtocol extends AbstractHttp11Protocol<Long>
Deprecated.
The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
HTTP/1.1 protocol implementation using APR/native.
  • Constructor Details

    • Http11AprProtocol

      public Http11AprProtocol()
      Deprecated.
    • Http11AprProtocol

      public Http11AprProtocol(AprEndpoint endpoint)
      Deprecated.
  • Method Details

    • getLog

      protected Log getLog()
      Deprecated.
      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<Long>
      Returns:
      the logger
    • isAprRequired

      public boolean isAprRequired()
      Deprecated.
      Description copied from interface: ProtocolHandler
      Requires APR/native library
      Specified by:
      isAprRequired in interface ProtocolHandler
      Overrides:
      isAprRequired in class AbstractProtocol<Long>
      Returns:
      true if this Protocol Handler requires the APR/native library, otherwise false
    • getPollTime

      public int getPollTime()
      Deprecated.
    • setPollTime

      public void setPollTime(int pollTime)
      Deprecated.
    • getSendfileSize

      public int getSendfileSize()
      Deprecated.
    • setSendfileSize

      public void setSendfileSize(int sendfileSize)
      Deprecated.
    • getDeferAccept

      public boolean getDeferAccept()
      Deprecated.
    • setDeferAccept

      public void setDeferAccept(boolean deferAccept)
      Deprecated.
    • getNamePrefix

      protected String getNamePrefix()
      Deprecated.
      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<Long>
      Returns:
      the prefix