Class AjpAprProtocol

All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

@Deprecated public class AjpAprProtocol extends AbstractAjpProtocol<Long>
Deprecated.
The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
This the APR/native based protocol handler implementation for AJP.
  • Constructor Details

    • AjpAprProtocol

      public AjpAprProtocol()
      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.
    • 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