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

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:
static class  Http11AprProtocol.Http11ConnectionHandler   
Field Summary
protected static  Log log     
protected static  StringManager sm    The string manager for this package. 
protected  Adapter adapter    The adapter, used to call the connector. 
 ObjectName tpOname     
 ObjectName rgOname     
protected  AprEndpoint endpoint     
protected  HashMap attributes     
protected  int processorCache    Processor cache. 
protected  int socketBuffer     
protected  int maxSavePostSize    Maximum size of the post which will be saved when processing certain requests, such as a POST. 
protected  int maxHttpHeaderSize    Maximum size of the HTTP message header. 
protected  boolean disableUploadTimeout    If true, the regular socket timeout will be used for the full duration of the connection. 
protected  String compression    Integrated compression support. 
protected  String noCompressionUserAgents     
protected  String compressableMimeTypes     
protected  int compressionMinSize     
protected  String restrictedUserAgents    User agents regular expressions which should be restricted to HTTP/1.0 support. 
protected  String protocol     
protected  int maxKeepAliveRequests    Maximum number of requests which can be performed over a keepalive connection. The default is the same as for Apache HTTP Server. 
protected  String server    Server header. 
protected  int timeout    This timeout represents the socket timeout which will be used while the adapter execution is in progress, unless disableUploadTimeout is set to true. The default is the same as for Apache HTTP Server (300 000 milliseconds). 
protected  boolean secure    This field indicates if the protocol is secure from the perspective of the client (= https is used). 
protected  String domain     
protected  ObjectName oname     
protected  MBeanServer mserver     
Constructor:
 public Http11AprProtocol() 
Method from org.apache.coyote.http11.Http11AprProtocol Summary:
destroy,   getAdapter,   getAddress,   getAttribute,   getAttributeNames,   getBacklog,   getCompressableMimeType,   getCompression,   getCompressionMinSize,   getDisableUploadTimeout,   getDomain,   getExecutor,   getKeepAlive,   getKeepAliveTimeout,   getMaxHttpHeaderSize,   getMaxKeepAliveRequests,   getMaxSavePostSize,   getMaxThreads,   getName,   getNoCompressionUserAgents,   getObjectName,   getPollTime,   getPollerSize,   getPort,   getProcessorCache,   getProtocol,   getRestrictedUserAgents,   getSSLCACertificateFile,   getSSLCACertificatePath,   getSSLCARevocationFile,   getSSLCARevocationPath,   getSSLCertificateChainFile,   getSSLCertificateFile,   getSSLCertificateKeyFile,   getSSLCipherSuite,   getSSLPassword,   getSSLProtocol,   getSSLVerifyClient,   getSSLVerifyDepth,   getSecure,   getSendfileSize,   getServer,   getSoLinger,   getSoTimeout,   getSocketBuffer,   getTcpNoDelay,   getThreadPriority,   getTimeout,   getUseSendfile,   init,   isSSLEnabled,   pause,   postDeregister,   postRegister,   preDeregister,   preRegister,   resume,   setAdapter,   setAddress,   setAttribute,   setBacklog,   setCompressableMimeType,   setCompression,   setCompressionMinSize,   setDisableUploadTimeout,   setExecutor,   setKeepAlive,   setKeepAliveTimeout,   setMaxHttpHeaderSize,   setMaxKeepAliveRequests,   setMaxSavePostSize,   setMaxThreads,   setNoCompressionUserAgents,   setPollTime,   setPollerSize,   setPort,   setProcessorCache,   setProtocol,   setRestrictedUserAgents,   setSSLCACertificateFile,   setSSLCACertificatePath,   setSSLCARevocationFile,   setSSLCARevocationPath,   setSSLCertificateChainFile,   setSSLCertificateFile,   setSSLCertificateKeyFile,   setSSLCipherSuite,   setSSLEnabled,   setSSLPassword,   setSSLProtocol,   setSSLVerifyClient,   setSSLVerifyDepth,   setSecure,   setSendfileSize,   setServer,   setSoLinger,   setSoTimeout,   setSocketBuffer,   setTcpNoDelay,   setThreadPriority,   setTimeout,   setUseSendfile,   start
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.http11.Http11AprProtocol 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 getCompressableMimeType() 
 public String getCompression() 
 public int getCompressionMinSize() 
 public boolean getDisableUploadTimeout() 
 public String getDomain() 
 public Executor getExecutor() 
 public boolean getKeepAlive() 
    Return the Keep-Alive policy for the connection.
 public int getKeepAliveTimeout() 
    The number of seconds Tomcat will wait for a subsequent request before closing the connection.
 public int getMaxHttpHeaderSize() 
 public int getMaxKeepAliveRequests() 
 public int getMaxSavePostSize() 
 public int getMaxThreads() 
 public String getName() 
 public String getNoCompressionUserAgents() 
 public ObjectName getObjectName() 
 public int getPollTime() 
 public int getPollerSize() 
 public int getPort() 
 public int getProcessorCache() 
 public String getProtocol() 
 public String getRestrictedUserAgents() 
 public String getSSLCACertificateFile() 
    SSL CA certificate file.
 public String getSSLCACertificatePath() 
    SSL CA certificate path.
 public String getSSLCARevocationFile() 
    SSL CA revocation file.
 public String getSSLCARevocationPath() 
    SSL CA revocation path.
 public String getSSLCertificateChainFile() 
    SSL certificate chain file.
 public String getSSLCertificateFile() 
    SSL certificate file.
 public String getSSLCertificateKeyFile() 
    SSL certificate key file.
 public String getSSLCipherSuite() 
    SSL cipher suite.
 public String getSSLPassword() 
    SSL password (if a cert is encrypted, and no password has been provided, a callback will ask for a password).
 public String getSSLProtocol() 
    SSL protocol.
 public String getSSLVerifyClient() 
    SSL verify client.
 public int getSSLVerifyDepth() 
    SSL verify depth.
 public boolean getSecure() 
 public int getSendfileSize() 
 public String getServer() 
 public int getSoLinger() 
 public int getSoTimeout() 
 public int getSocketBuffer() 
 public boolean getTcpNoDelay() 
 public int getThreadPriority() 
 public int getTimeout() 
 public boolean getUseSendfile() 
 public  void init() throws Exception 
    Start the protocol
 public boolean isSSLEnabled() 
    SSL engine.
 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) 
 public  void setAddress(InetAddress ia) 
 public  void setAttribute(String name,
    Object value) 
    Pass config info
 public  void setBacklog(int backlog) 
 public  void setCompressableMimeType(String valueS) 
 public  void setCompression(String valueS) 
 public  void setCompressionMinSize(int valueI) 
 public  void setDisableUploadTimeout(boolean isDisabled) 
 public  void setExecutor(Executor executor) 
 public  void setKeepAlive(boolean keepAlive) 
    Set the keep-alive policy for this connection.
 public  void setKeepAliveTimeout(int timeout) 
 public  void setMaxHttpHeaderSize(int valueI) 
 public  void setMaxKeepAliveRequests(int mkar) 
 public  void setMaxSavePostSize(int valueI) 
 public  void setMaxThreads(int maxThreads) 
 public  void setNoCompressionUserAgents(String valueS) 
 public  void setPollTime(int pollTime) 
 public  void setPollerSize(int pollerSize) 
 public  void setPort(int port) 
 public  void setProcessorCache(int processorCache) 
 public  void setProtocol(String protocol) 
 public  void setRestrictedUserAgents(String valueS) 
 public  void setSSLCACertificateFile(String SSLCACertificateFile) 
 public  void setSSLCACertificatePath(String SSLCACertificatePath) 
 public  void setSSLCARevocationFile(String SSLCARevocationFile) 
 public  void setSSLCARevocationPath(String SSLCARevocationPath) 
 public  void setSSLCertificateChainFile(String SSLCertificateChainFile) 
 public  void setSSLCertificateFile(String SSLCertificateFile) 
 public  void setSSLCertificateKeyFile(String SSLCertificateKeyFile) 
 public  void setSSLCipherSuite(String SSLCipherSuite) 
 public  void setSSLEnabled(boolean SSLEnabled) 
 public  void setSSLPassword(String SSLPassword) 
 public  void setSSLProtocol(String SSLProtocol) 
 public  void setSSLVerifyClient(String SSLVerifyClient) 
 public  void setSSLVerifyDepth(int SSLVerifyDepth) 
 public  void setSecure(boolean b) 
 public  void setSendfileSize(int sendfileSize) 
 public  void setServer(String server) 
 public  void setSoLinger(int soLinger) 
 public  void setSoTimeout(int soTimeout) 
 public  void setSocketBuffer(int socketBuffer) 
 public  void setTcpNoDelay(boolean tcpNoDelay) 
 public  void setThreadPriority(int threadPriority) 
 public  void setTimeout(int timeout) 
 public  void setUseSendfile(boolean useSendfile) 
 public  void start() throws Exception