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

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  Http11NioProtocol.Http11ConnectionHandler   
Field Summary
protected  SSLImplementation sslImplementation     
protected static  StringManager sm    The string manager for this package. 
 ObjectName tpOname     
 ObjectName rgOname     
protected  NioEndpoint ep     
protected  boolean secure     
protected  Hashtable attributes     
protected  int processorCache     
protected static  Log log     
protected  String domain     
protected  ObjectName oname     
protected  MBeanServer mserver     
Constructor:
 public Http11NioProtocol() 
Method from org.apache.coyote.http11.Http11NioProtocol Summary:
destroy,   getAcceptorThreadPriority,   getAdapter,   getAddress,   getAlgorithm,   getAttribute,   getAttributeNames,   getBacklog,   getCiphers,   getClientAuth,   getClientauth,   getCompressableMimeType,   getCompression,   getCompressionMinSize,   getDisableUploadTimeout,   getDomain,   getExecutor,   getKeepAlive,   getKeypass,   getKeystore,   getKeystoreFile,   getKeystorePass,   getKeystoreType,   getKeytype,   getMaxHttpHeaderSize,   getMaxKeepAliveRequests,   getMaxSavePostSize,   getMaxThreads,   getName,   getNoCompressionUserAgents,   getObjectName,   getOomParachute,   getPollerThreadCount,   getPollerThreadPriority,   getPort,   getProcessorCache,   getProperty,   getProtocol,   getRestrictedUserAgents,   getSSLEnabled,   getSecure,   getSelectorTimeout,   getServer,   getSoLinger,   getSoTimeout,   getSocketBuffer,   getSocketCloseDelay,   getSslProtocol,   getTcpNoDelay,   getThreadPriority,   getTimeout,   getTruststoreFile,   getTruststorePass,   getTruststoreType,   getUseSendfile,   init,   pause,   postDeregister,   postRegister,   preDeregister,   preRegister,   resume,   setAcceptorThreadPriority,   setAdapter,   setAddress,   setAlgorithm,   setAttribute,   setBacklog,   setCiphers,   setClientAuth,   setClientauth,   setCompressableMimeType,   setCompression,   setCompressionMinSize,   setDisableUploadTimeout,   setExecutor,   setKeepAlive,   setKeypass,   setKeystore,   setKeystoreFile,   setKeystorePass,   setKeystoreType,   setKeytype,   setMaxHttpHeaderSize,   setMaxKeepAliveRequests,   setMaxSavePostSize,   setMaxThreads,   setNoCompressionUserAgents,   setOomParachute,   setPollerThreadCount,   setPollerThreadPriority,   setPort,   setProcessorCache,   setProperty,   setProtocol,   setRestrictedUserAgents,   setSSLEnabled,   setSecure,   setSelectorTimeout,   setServer,   setSoLinger,   setSoTimeout,   setSocketBuffer,   setSocketCloseDelay,   setSslProtocol,   setTcpNoDelay,   setThreadPriority,   setTimeout,   setTruststoreFile,   setTruststorePass,   setTruststoreType,   setUseExecutor,   setUseSendfile,   start
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.http11.Http11NioProtocol Detail:
 public  void destroy() throws Exception 
 public int getAcceptorThreadPriority() 
 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 getClientauth() 
 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 String getKeypass() 
 public String getKeystore() 
 public String getKeystoreFile() 
 public String getKeystorePass() 
 public String getKeystoreType() 
 public String getKeytype() 
 public int getMaxHttpHeaderSize() 
 public int getMaxKeepAliveRequests() 
 public int getMaxSavePostSize() 
 public int getMaxThreads() 
 public String getName() 
 public String getNoCompressionUserAgents() 
 public ObjectName getObjectName() 
 public int getOomParachute() 
 public int getPollerThreadCount() 
 public int getPollerThreadPriority() 
 public int getPort() 
 public int getProcessorCache() 
 public String getProperty(String name) 
    Get a property
 public String getProtocol() 
 public String getRestrictedUserAgents() 
 public boolean getSSLEnabled() 
 public boolean getSecure() 
 public long getSelectorTimeout() 
 public String getServer() 
 public int getSoLinger() 
 public int getSoTimeout() 
 public int getSocketBuffer() 
 public int getSocketCloseDelay() 
 public String getSslProtocol() 
 public boolean getTcpNoDelay() 
 public int getThreadPriority() 
 public int getTimeout() 
 public String getTruststoreFile() 
 public String getTruststorePass() 
 public String getTruststoreType() 
 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 setAcceptorThreadPriority(int threadPriority) 
 public  void setAdapter(Adapter adapter) 
    The adapter, used to call the connector
 public  void setAddress(InetAddress ia) 
 public  void setAlgorithm(String s) 
 public  void setAttribute(String name,
    Object value) 
    Pass config info
 public  void setBacklog(int i) 
 public  void setCiphers(String s) 
 public  void setClientAuth(String s) 
 public  void setClientauth(String s) 
 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 setKeypass(String s) 
 public  void setKeystore(String s) 
 public  void setKeystoreFile(String s) 
 public  void setKeystorePass(String s) 
 public  void setKeystoreType(String s) 
 public  void setKeytype(String s) 
 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 setMaxThreads(int maxThreads) 
 public  void setNoCompressionUserAgents(String valueS) 
 public  void setOomParachute(int oomParachute) 
 public  void setPollerThreadCount(int count) 
 public  void setPollerThreadPriority(int threadPriority) 
 public  void setPort(int port) 
 public  void setProcessorCache(int processorCache) 
 public boolean setProperty(String name,
    String value) 
    Set a property.
 public  void setProtocol(String k) 
 public  void setRestrictedUserAgents(String valueS) 
 public  void setSSLEnabled(boolean SSLEnabled) 
 public  void setSecure(boolean b) 
 public  void setSelectorTimeout(long timeout) 
 public  void setServer(String server) 
 public  void setSoLinger(int i) 
 public  void setSoTimeout(int i) 
 public  void setSocketBuffer(int valueI) 
 public  void setSocketCloseDelay(int d) 
 public  void setSslProtocol(String s) 
 public  void setTcpNoDelay(boolean b) 
 public  void setThreadPriority(int threadPriority) 
 public  void setTimeout(int timeouts) 
 public  void setTruststoreFile(String f) 
 public  void setTruststorePass(String p) 
 public  void setTruststoreType(String t) 
 public  void setUseExecutor(boolean useexec) 
 public  void setUseSendfile(boolean useSendfile) 
 public  void start() throws Exception