Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » coyote » ajp » [javadoc | source]
org.apache.coyote.ajp
public class: AjpAprProtocol [javadoc | source]
java.lang.Object
   org.apache.coyote.ajp.AjpAprProtocol

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  AjpAprProtocol.AjpConnectionHandler   
Field Summary
protected static  Log log     
protected static  StringManager sm    The string manager for this package. 
protected  ObjectName tpOname     
protected  ObjectName rgOname     
protected  AprEndpoint endpoint    Associated APR 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  String domain     
protected  ObjectName oname     
protected  MBeanServer mserver     
Constructor:
 public AjpAprProtocol() 
Method from org.apache.coyote.ajp.AjpAprProtocol Summary:
destroy,   getAdapter,   getAddress,   getAttribute,   getAttributeNames,   getBacklog,   getDomain,   getExecutor,   getKeepAliveTimeout,   getMaxThreads,   getName,   getObjectName,   getPacketSize,   getPollTime,   getPollerSize,   getPort,   getProcessorCache,   getSoLinger,   getSoTimeout,   getTcpNoDelay,   getThreadPriority,   getTomcatAuthentication,   getUseSendfile,   init,   pause,   postDeregister,   postRegister,   preDeregister,   preRegister,   resume,   setAdapter,   setAddress,   setAttribute,   setBacklog,   setExecutor,   setKeepAliveTimeout,   setMaxThreads,   setPacketSize,   setPollTime,   setPollerSize,   setPort,   setProcessorCache,   setRequiredSecret,   setSoLinger,   setSoTimeout,   setTcpNoDelay,   setThreadPriority,   setTomcatAuthentication,   setUseSendfile,   start
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.ajp.AjpAprProtocol 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() 
    The number of seconds Tomcat will wait for a subsequent request before closing the connection.
 public int getMaxThreads() 
 public String getName() 
 public ObjectName getObjectName() 
 public int getPacketSize() 
 public int getPollTime() 
 public int getPollerSize() 
 public int getPort() 
 public int getProcessorCache() 
 public int getSoLinger() 
 public int getSoTimeout() 
 public boolean getTcpNoDelay() 
 public int getThreadPriority() 
 public boolean getTomcatAuthentication() 
 public boolean getUseSendfile() 
 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 setPollTime(int pollTime) 
 public  void setPollerSize(int pollerSize) 
 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 setUseSendfile(boolean useSendfile) 
 public  void start() throws Exception