Apache Tomcat 7.0.4

org.apache.coyote.ajp
Class AjpProtocol

java.lang.Object
  extended by org.apache.coyote.ajp.AbstractAjpProtocol
      extended by 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

Nested Class Summary
protected static class AjpProtocol.AjpConnectionHandler
           
 
Field Summary
 
Fields inherited from class org.apache.coyote.ajp.AbstractAjpProtocol
adapter, attributes, domain, endpoint, keepAliveTimeout, mserver, oname, packetSize, processorCache, requiredSecret, rgOname, sm, tomcatAuthentication, tpOname
 
Constructor Summary
AjpProtocol()
           
 
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
 

Constructor Detail

AjpProtocol

public AjpProtocol()
Method Detail

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

Apache Tomcat 7.0.4

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