org.apache.coyote.ajp
Class AjpAprProtocol
java.lang.Object
   org.apache.coyote.ajp.AbstractAjpProtocol
org.apache.coyote.ajp.AbstractAjpProtocol
       org.apache.coyote.ajp.AjpAprProtocol
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
 
 
| Fields inherited from class org.apache.coyote.ajp.AbstractAjpProtocol | 
| adapter, attributes, domain, endpoint, keepAliveTimeout, mserver, oname, packetSize, processorCache, requiredSecret, rgOname, sm, tomcatAuthentication, tpOname | 
 
 
 
| Methods inherited from class org.apache.coyote.ajp.AbstractAjpProtocol | 
| destroy, getAdapter, getAddress, getAttribute, getAttributeNames, getBacklog, getDomain, getExecutor, getKeepAliveTimeout, getMaxThreads, getName, getObjectName, getPacketSize, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, getTomcatAuthentication, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setAttribute, setBacklog, setExecutor, setKeepAliveTimeout, setMaxThreads, setPacketSize, setPort, setProcessorCache, setProperty, setRequiredSecret, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, setTomcatAuthentication, stop | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AjpAprProtocol
public AjpAprProtocol()
getLog
protected Log getLog()
- 
- Specified by:
- getLogin class- AbstractAjpProtocol
 
- 
 
init
public void init()
          throws Exception
- Start the protocol
 
- 
- Throws:
- Exception
 
start
public void start()
           throws Exception
- Description copied from interface: ProtocolHandler
- Start the protocol.
 
- 
- Throws:
- Exception
 
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()
- 
 
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.