Apache Tomcat 7.0.6

org.apache.coyote.ajp
Class AjpAprProtocol

java.lang.Object
  extended by org.apache.coyote.AbstractProtocolHandler
      extended by org.apache.coyote.ajp.AbstractAjpProtocol
          extended by org.apache.coyote.ajp.AjpAprProtocol
All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

public class AjpAprProtocol
extends AbstractAjpProtocol

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

Nested Class Summary
protected static class AjpAprProtocol.AjpConnectionHandler
           
 
Field Summary
 
Fields inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
packetSize, requiredSecret, sm, tomcatAuthentication
 
Fields inherited from class org.apache.coyote.AbstractProtocolHandler
adapter, domain, endpoint, mserver, oname, processorCache, rgOname, tpOname
 
Constructor Summary
AjpAprProtocol()
           
 
Method Summary
protected  AbstractEndpoint.Handler getHandler()
          Obtain the handler associated with the underlying Endpoint
protected  Log getLog()
          Concrete implementations need to provide access to their logger to be used by the abstract classes.
protected  String getNamePrefix()
          Obtain the prefix to be used when construction a name for this protocol handler.
 int getPollerSize()
           
 int getPollTime()
           
 boolean getUseSendfile()
           
 void setPollerSize(int pollerSize)
           
 void setPollTime(int pollTime)
           
 void setUseSendfile(boolean useSendfile)
           
 
Methods inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
getPacketSize, getTomcatAuthentication, setPacketSize, setRequiredSecret, setTomcatAuthentication
 
Methods inherited from class org.apache.coyote.AbstractProtocolHandler
destroy, getAdapter, getAddress, getBacklog, getConnectionTimeout, getDomain, getExecutor, getKeepAliveTimeout, getMaxConnections, getMaxThreads, getMinSpareThreads, getName, getObjectName, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, init, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setBacklog, setConnectionTimeout, setExecutor, setKeepAliveTimeout, setMaxConnections, setMaxThreads, setMinSpareThreads, setPort, setProcessorCache, setProperty, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjpAprProtocol

public AjpAprProtocol()
Method Detail

getLog

protected Log getLog()
Description copied from class: AbstractProtocolHandler
Concrete implementations need to provide access to their logger to be used by the abstract classes.

Specified by:
getLog in class AbstractProtocolHandler

getHandler

protected AbstractEndpoint.Handler getHandler()
Description copied from class: AbstractProtocolHandler
Obtain the handler associated with the underlying Endpoint

Specified by:
getHandler in class AbstractProtocolHandler

getUseSendfile

public boolean getUseSendfile()

setUseSendfile

public void setUseSendfile(boolean useSendfile)

getPollTime

public int getPollTime()

setPollTime

public void setPollTime(int pollTime)

setPollerSize

public void setPollerSize(int pollerSize)

getPollerSize

public int getPollerSize()

getNamePrefix

protected String getNamePrefix()
Description copied from class: AbstractProtocolHandler
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 AbstractProtocolHandler

Apache Tomcat 7.0.6

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.