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 Detail

      • Http11AprProtocol

        public Http11AprProtocol()
    • Method Detail

      • 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
      • 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