Home » apache-tomcat-6.0.26-src » org.apache » coyote » ajp » [javadoc | source]
org.apache.coyote.ajp
public class: AjpProtocol [javadoc | source]
java.lang.Object
   org.apache.coyote.ajp.AjpProtocol

All Implemented Interfaces:
    ProtocolHandler, MBeanRegistration

Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.
Nested Class Summary:
protected static class  AjpProtocol.AjpConnectionHandler   
Field Summary
protected static  Log log     
protected static  StringManager sm    The string manager for this package. 
protected  ObjectName tpOname     
protected  ObjectName rgOname     
protected  JIoEndpoint endpoint    Associated java.io endpoint. 
protected  Hashtable attributes    Configuration attributes. 
protected  int processorCache    Processor cache. 
protected  boolean tomcatAuthentication    Should authentication be done in the native webserver layer, or in the Servlet container ? 
protected  String requiredSecret    Required secret. 
protected  int packetSize    AJP packet size. 
protected  int keepAliveTimeout    The number of seconds Tomcat will wait for a subsequent request before closing the connection. 
protected  String domain     
protected  ObjectName oname     
protected  MBeanServer mserver     
Constructor:
 public AjpProtocol() 
Method from org.apache.coyote.ajp.AjpProtocol Summary:
destroy,   getAdapter,   getAddress,   getAttribute,   getAttributeNames,   getBacklog,   getDomain,   getExecutor,   getKeepAliveTimeout,   getMaxThreads,   getName,   getObjectName,   getPacketSize,   getPort,   getProcessorCache,   getSoLinger,   getSoTimeout,   getTcpNoDelay,   getThreadPriority,   getTomcatAuthentication,   init,   pause,   postDeregister,   postRegister,   preDeregister,   preRegister,   resume,   setAdapter,   setAddress,   setAttribute,   setBacklog,   setExecutor,   setKeepAliveTimeout,   setMaxThreads,   setPacketSize,   setPort,   setProcessorCache,   setRequiredSecret,   setSoLinger,   setSoTimeout,   setTcpNoDelay,   setThreadPriority,   setTomcatAuthentication,   start
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.ajp.AjpProtocol Detail:
 public  void destroy() throws Exception 
 public Adapter getAdapter() 
 public InetAddress getAddress() 
 public Object getAttribute(String key) 
 public Iterator getAttributeNames() 
 public int getBacklog() 
 public String getDomain() 
 public Executor getExecutor() 
 public int getKeepAliveTimeout() 
 public int getMaxThreads() 
 public String getName() 
 public ObjectName getObjectName() 
 public int getPacketSize() 
 public int getPort() 
 public int getProcessorCache() 
 public int getSoLinger() 
 public int getSoTimeout() 
 public boolean getTcpNoDelay() 
 public int getThreadPriority() 
 public boolean getTomcatAuthentication() 
 public  void init() throws Exception 
    Start the protocol
 public  void pause() throws Exception 
 public  void postDeregister() 
 public  void postRegister(Boolean registrationDone) 
 public  void preDeregister() throws Exception 
 public ObjectName preRegister(MBeanServer server,
    ObjectName name) throws Exception 
 public  void resume() throws Exception 
 public  void setAdapter(Adapter adapter) 
    The adapter, used to call the connector
 public  void setAddress(InetAddress ia) 
 public  void setAttribute(String name,
    Object value) 
    Pass config info
 public  void setBacklog(int backlog) 
 public  void setExecutor(Executor executor) 
 public  void setKeepAliveTimeout(int timeout) 
 public  void setMaxThreads(int maxThreads) 
 public  void setPacketSize(int packetSize) 
 public  void setPort(int port) 
 public  void setProcessorCache(int processorCache) 
 public  void setRequiredSecret(String requiredSecret) 
 public  void setSoLinger(int soLinger) 
 public  void setSoTimeout(int soTimeout) 
 public  void setTcpNoDelay(boolean tcpNoDelay) 
 public  void setThreadPriority(int threadPriority) 
 public  void setTomcatAuthentication(boolean tomcatAuthentication) 
 public  void start() throws Exception