Class Http11AprProtocol

  • All Implemented Interfaces:
    javax.management.MBeanRegistration, ProtocolHandler

    @Deprecated
    public class Http11AprProtocol
    extends AbstractHttp11Protocol<java.lang.Long>
    Deprecated.
    The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
    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()
        Deprecated.
    • Method Detail

      • 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<java.lang.Long>
        Returns:
        the logger
      • 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 java.lang.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<java.lang.Long>
        Returns:
        the prefix