Apache Tomcat 7.0.4

org.apache.coyote.http11
Class Http11Protocol

java.lang.Object
  extended by org.apache.coyote.http11.AbstractHttp11Protocol
      extended by org.apache.coyote.http11.AbstractHttp11JsseProtocol
          extended by org.apache.coyote.http11.Http11Protocol
All Implemented Interfaces:
MBeanRegistration, ProtocolHandler

public class Http11Protocol
extends AbstractHttp11JsseProtocol

Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.

Author:
Remy Maucherat, Costin Manolache

Nested Class Summary
protected static class Http11Protocol.Http11ConnectionHandler
           
 
Field Summary
protected  Http11Protocol.Http11ConnectionHandler cHandler
           
protected  ServerSocketFactory socketFactory
           
protected  String socketFactoryName
          Name of the socket factory.
protected  String sslImplementationName
          Name of the SSL implementation.
 
Fields inherited from class org.apache.coyote.http11.AbstractHttp11Protocol
adapter, attributes, domain, endpoint, mserver, oname, rgOname, sm, sslImplementation, tpOname
 
Constructor Summary
Http11Protocol()
           
 
Method Summary
 void destroy()
          Destroy the protocol (optional).
protected  Log getLog()
           
 String getSocketFactory()
           
 String getSSLImplementation()
           
 void init()
          Initialise the protocol.
 void setSocketFactory(String valueS)
           
 void setSSLImplementation(String valueS)
           
 void start()
          Start the protocol.
 
Methods inherited from class org.apache.coyote.http11.AbstractHttp11JsseProtocol
getAlgorithm, getAllowUnsafeLegacyRenegotiation, getCiphers, getClientAuth, getCrlFile, getKeyAlias, getKeyPass, getKeystoreFile, getKeystorePass, getKeystoreProvider, getKeystoreType, getSessionCacheSize, getSessionTimeout, getSslProtocol, getTrustMaxCertLength, getTruststoreAlgorithm, getTruststoreFile, getTruststorePass, getTruststoreProvider, getTruststoreType, setAlgorithm, setAllowUnsafeLegacyRenegotiation, setCiphers, setClientAuth, setCrlFile, setKeyAlias, setKeyPass, setKeystoreFile, setKeystorePass, setKeystoreProvider, setKeystoreType, setSessionCacheSize, setSessionTimeout, setSslProtocol, setTrustMaxCertLength, setTruststoreAlgorithm, setTruststoreFile, setTruststorePass, setTruststoreProvider, setTruststoreType
 
Methods inherited from class org.apache.coyote.http11.AbstractHttp11Protocol
getAdapter, getAddress, getAttribute, getAttributeNames, getBacklog, getCompressableMimeType, getCompressableMimeTypes, getCompression, getCompressionMinSize, getConnectionTimeout, getDisableUploadTimeout, getDomain, getExecutor, getKeepAlive, getKeepAliveTimeout, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxThreads, getName, getNoCompressionUserAgents, getObjectName, getPort, getProcessorCache, getProperty, getRestrictedUserAgents, getSecure, getServer, getSocketBuffer, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, getTimeout, isSSLEnabled, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setAttribute, setBacklog, setCompressableMimeType, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionTimeout, setDisableUploadTimeout, setExecutor, setKeepAlive, setKeepAliveTimeout, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxThreads, setNoCompressionUserAgents, setPort, setProcessorCache, setProperty, setRestrictedUserAgents, setSecure, setServer, setSocketBuffer, setSoLinger, setSoTimeout, setSSLEnabled, setTcpNoDelay, setThreadPriority, setTimeout, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cHandler

protected Http11Protocol.Http11ConnectionHandler cHandler

socketFactory

protected ServerSocketFactory socketFactory

socketFactoryName

protected String socketFactoryName
Name of the socket factory.


sslImplementationName

protected String sslImplementationName
Name of the SSL implementation.

Constructor Detail

Http11Protocol

public Http11Protocol()
Method Detail

getLog

protected Log getLog()
Specified by:
getLog in class AbstractHttp11Protocol

init

public void init()
          throws Exception
Description copied from interface: ProtocolHandler
Initialise the protocol.

Specified by:
init in interface ProtocolHandler
Specified by:
init in class AbstractHttp11Protocol
Throws:
Exception

start

public void start()
           throws Exception
Description copied from interface: ProtocolHandler
Start the protocol.

Throws:
Exception

destroy

public void destroy()
             throws Exception
Description copied from interface: ProtocolHandler
Destroy the protocol (optional).

Specified by:
destroy in interface ProtocolHandler
Overrides:
destroy in class AbstractHttp11Protocol
Throws:
Exception

getSocketFactory

public String getSocketFactory()

setSocketFactory

public void setSocketFactory(String valueS)

getSSLImplementation

public String getSSLImplementation()

setSSLImplementation

public void setSSLImplementation(String valueS)

Apache Tomcat 7.0.4

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.