org.apache.coyote.ajp
Class AjpProtocol
java.lang.Object
org.apache.coyote.ajp.AbstractAjpProtocol
org.apache.coyote.ajp.AjpProtocol
- All Implemented Interfaces:
- MBeanRegistration, ProtocolHandler
public class AjpProtocol
- 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 |
Method Summary |
protected Log |
getLog()
|
void |
init()
Start the protocol |
void |
start()
Start the protocol. |
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 |
AjpProtocol
public AjpProtocol()
getLog
protected Log getLog()
- Specified by:
getLog
in 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
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.