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

All Implemented Interfaces:
    ProtocolHandler

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  Http11BaseProtocol.Http11ConnectionHandler   
Field Summary
protected static  StringManager sm    The string manager for this package. 
protected  ThreadPool tp     
protected  PoolTcpEndpoint ep     
protected  boolean secure     
protected  ServerSocketFactory socketFactory     
protected  SSLImplementation sslImplementation     
protected  Hashtable attributes     
protected  String socketFactoryName     
protected  String sslImplementationName     
protected  Http11BaseProtocol.Http11ConnectionHandler cHandler     
public static final  int THREAD_DATA_PROCESSOR     
public static final  int THREAD_DATA_OBJECT_NAME     
protected static  Log log     
Constructor:
 public Http11BaseProtocol() 
Method from org.apache.coyote.http11.Http11BaseProtocol Summary:
createConnectionHandler,   destroy,   getAdapter,   getAddress,   getAlgorithm,   getAttribute,   getAttributeNames,   getBacklog,   getCiphers,   getClientauth,   getCompressableMimeType,   getCompression,   getCompressionMinSize,   getDisableUploadTimeout,   getKeepAlive,   getKeyAlias,   getKeypass,   getKeystore,   getKeytype,   getMaxHttpHeaderSize,   getMaxKeepAliveRequests,   getMaxSavePostSize,   getMaxSpareThreads,   getMaxThreads,   getMinSpareThreads,   getName,   getNoCompressionUserAgents,   getPort,   getProperty,   getProtocol,   getProtocols,   getReportedname,   getRestrictedUserAgents,   getSSLImplementation,   getSecure,   getServer,   getServerSoTimeout,   getSoLinger,   getSoTimeout,   getSocketBuffer,   getSocketCloseDelay,   getSocketFactory,   getStrategy,   getTcpNoDelay,   getThreadPriority,   getTimeout,   init,   pause,   resume,   setAdapter,   setAddress,   setAlgorithm,   setAttribute,   setBacklog,   setCiphers,   setClientauth,   setCompressableMimeType,   setCompression,   setCompressionMinSize,   setDisableUploadTimeout,   setKeepAlive,   setKeyAlias,   setKeypass,   setKeystore,   setKeytype,   setMaxHttpHeaderSize,   setMaxKeepAliveRequests,   setMaxSavePostSize,   setMaxSpareThreads,   setMaxThreads,   setMinSpareThreads,   setNoCompressionUserAgents,   setPort,   setProperty,   setProtocol,   setProtocols,   setReportedname,   setRestrictedUserAgents,   setSSLImplementation,   setSecure,   setServer,   setServerSoTimeout,   setSoLinger,   setSoTimeout,   setSocketBuffer,   setSocketCloseDelay,   setSocketFactory,   setStrategy,   setTcpNoDelay,   setThreadPriority,   setTimeout,   start
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.http11.Http11BaseProtocol Detail:
 protected Http11BaseProtocol.Http11ConnectionHandler createConnectionHandler() 
 public  void destroy() throws Exception 
 public Adapter getAdapter() 
 public InetAddress getAddress() 
 public String getAlgorithm() 
 public Object getAttribute(String key) 
 public Iterator getAttributeNames() 
 public int getBacklog() 
 public String getCiphers() 
 public String getClientauth() 
 public String getCompressableMimeType() 
 public String getCompression() 
 public int getCompressionMinSize() 
 public boolean getDisableUploadTimeout() 
 public boolean getKeepAlive() 
    Return the Keep-Alive policy for the connection.
 public String getKeyAlias() 
 public String getKeypass() 
 public String getKeystore() 
 public String getKeytype() 
 public int getMaxHttpHeaderSize() 
 public int getMaxKeepAliveRequests() 
 public int getMaxSavePostSize() 
 public int getMaxSpareThreads() 
 public int getMaxThreads() 
 public int getMinSpareThreads() 
 public String getName() 
 public String getNoCompressionUserAgents() 
 public int getPort() 
 public String getProperty(String name) 
    Get a property
 public String getProtocol() 
 public String getProtocols() 
 public String getReportedname() 
 public String getRestrictedUserAgents() 
 public String getSSLImplementation() 
 public boolean getSecure() 
 public String getServer() 
 public int getServerSoTimeout() 
 public int getSoLinger() 
 public int getSoTimeout() 
 public int getSocketBuffer() 
 public int getSocketCloseDelay() 
 public String getSocketFactory() 
 public String getStrategy() 
 public boolean getTcpNoDelay() 
 public int getThreadPriority() 
 public int getTimeout() 
 public  void init() throws Exception 
    Start the protocol
 public  void pause() 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 setAlgorithm(String k) 
 public  void setAttribute(String name,
    Object value) 
    Pass config info
 public  void setBacklog(int i) 
 public  void setCiphers(String ciphers) 
 public  void setClientauth(String k) 
 public  void setCompressableMimeType(String valueS) 
 public  void setCompression(String valueS) 
 public  void setCompressionMinSize(int valueI) 
 public  void setDisableUploadTimeout(boolean isDisabled) 
 public  void setKeepAlive(boolean keepAlive) 
    Set the keep-alive policy for this connection.
 public  void setKeyAlias(String keyAlias) 
 public  void setKeypass(String k) 
 public  void setKeystore(String k) 
 public  void setKeytype(String k) 
 public  void setMaxHttpHeaderSize(int valueI) 
 public  void setMaxKeepAliveRequests(int mkar) 
    Set the maximum number of Keep-Alive requests that we will honor.
 public  void setMaxSavePostSize(int valueI) 
 public  void setMaxSpareThreads(int maxThreads) 
 public  void setMaxThreads(int maxThreads) 
 public  void setMinSpareThreads(int minSpareThreads) 
 public  void setNoCompressionUserAgents(String valueS) 
 public  void setPort(int port) 
 public  void setProperty(String name,
    String value) 
    Set a property.
 public  void setProtocol(String k) 
 public  void setProtocols(String k) 
 public  void setReportedname(String reportedName) 
 public  void setRestrictedUserAgents(String valueS) 
 public  void setSSLImplementation(String valueS) 
 public  void setSecure(boolean b) 
 public  void setServer(String server) 
 public  void setServerSoTimeout(int i) 
 public  void setSoLinger(int i) 
 public  void setSoTimeout(int i) 
 public  void setSocketBuffer(int valueI) 
 public  void setSocketCloseDelay(int d) 
 public  void setSocketFactory(String valueS) 
 public  void setStrategy(String strategy) 
 public  void setTcpNoDelay(boolean b) 
 public  void setThreadPriority(int threadPriority) 
 public  void setTimeout(int timeouts) 
 public  void start() throws Exception