Class Http11AprProtocol

All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

public class Http11AprProtocol extends AbstractHttp11Protocol<Long>
Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.
Author:
Remy Maucherat, Costin Manolache
  • Constructor Details

    • Http11AprProtocol

      public Http11AprProtocol()
  • 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<Long>
      Returns:
      the logger
    • isAprRequired

      public boolean isAprRequired()
      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()
    • setPollTime

      public void setPollTime(int pollTime)
    • getSendfileSize

      public int getSendfileSize()
    • setSendfileSize

      public void setSendfileSize(int sendfileSize)
    • getDeferAccept

      public boolean getDeferAccept()
    • setDeferAccept

      public void setDeferAccept(boolean deferAccept)
    • 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<Long>
      Returns:
      the prefix