org.apache.coyote.ajp
Class AjpProtocol
java.lang.Object
org.apache.coyote.AbstractProtocol
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
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. |
Methods inherited from class org.apache.coyote.AbstractProtocol |
destroy, getAdapter, getAddress, getBacklog, getClientCertProvider, getConnectionTimeout, getDomain, getExecutor, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, init, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setBacklog, setClientCertProvider, setConnectionTimeout, setExecutor, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, 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 |
AjpProtocol
public AjpProtocol()
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
getHandler
protected AbstractEndpoint.Handler getHandler()
- Description copied from class:
AbstractProtocol
- Obtain the handler associated with the underlying Endpoint
- Specified by:
getHandler
in class AbstractProtocol
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
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.