|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.coyote.AbstractProtocol org.apache.coyote.http11.Http11NioProtocol
public class Http11NioProtocol
Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.
Field Summary | |
---|---|
protected java.util.Hashtable<java.lang.String,java.lang.Object> |
attributes
|
protected java.lang.String |
clientCertProvider
When client certificate information is presented in a form other than instances of X509Certificate it needs to be
converted before it can be used and this property controls which JSSE
provider is used to perform the conversion. |
protected java.lang.String |
domain
|
protected NioEndpoint |
ep
|
protected static Log |
log
|
protected javax.management.MBeanServer |
mserver
|
protected javax.management.ObjectName |
oname
|
protected int |
processorCache
|
protected boolean |
secure
|
protected static StringManager |
sm
The string manager for this package. |
protected JSSEImplementation |
sslImplementation
|
Constructor Summary | |
---|---|
Http11NioProtocol()
|
Method Summary | |
---|---|
void |
destroy()
|
int |
getAcceptorThreadPriority()
|
Adapter |
getAdapter()
|
java.net.InetAddress |
getAddress()
|
java.lang.String |
getAlgorithm()
|
java.lang.Object |
getAttribute(java.lang.String key)
|
java.util.Iterator<java.lang.String> |
getAttributeNames()
|
int |
getBacklog()
|
java.lang.String |
getCiphers()
|
java.lang.String |
getClientauth()
|
java.lang.String |
getClientAuth()
|
java.lang.String |
getClientCertProvider()
|
java.lang.String |
getCompressableMimeType()
|
java.lang.String |
getCompression()
|
int |
getCompressionMinSize()
|
boolean |
getDisableUploadTimeout()
|
java.lang.String |
getDomain()
|
protected AbstractEndpoint |
getEndpoint()
|
java.util.concurrent.Executor |
getExecutor()
|
boolean |
getKeepAlive()
Return the Keep-Alive policy for the connection. |
java.lang.String |
getKeyAlias()
|
java.lang.String |
getKeypass()
|
java.lang.String |
getKeystore()
|
java.lang.String |
getKeystoreFile()
|
java.lang.String |
getKeystorePass()
|
java.lang.String |
getKeystoreType()
|
java.lang.String |
getKeytype()
|
int |
getMaxHttpHeaderSize()
|
int |
getMaxKeepAliveRequests()
|
int |
getMaxSavePostSize()
|
int |
getMaxThreads()
|
java.lang.String |
getName()
|
java.lang.String |
getNoCompressionUserAgents()
|
javax.management.ObjectName |
getObjectName()
|
int |
getOomParachute()
|
int |
getPollerThreadCount()
|
int |
getPollerThreadPriority()
|
int |
getPort()
|
int |
getProcessorCache()
|
java.lang.String |
getProperty(java.lang.String name)
Get a property |
java.lang.String |
getProtocol()
|
java.lang.String |
getRestrictedUserAgents()
|
boolean |
getSecure()
|
long |
getSelectorTimeout()
|
java.lang.String |
getServer()
|
int |
getSocketBuffer()
|
int |
getSocketCloseDelay()
|
int |
getSoLinger()
|
int |
getSoTimeout()
|
boolean |
getSSLEnabled()
|
java.lang.String |
getSslProtocol()
|
boolean |
getTcpNoDelay()
|
int |
getThreadPriority()
|
int |
getTimeout()
|
java.lang.String |
getTruststoreFile()
|
java.lang.String |
getTruststorePass()
|
java.lang.String |
getTruststoreType()
|
boolean |
getUseSendfile()
|
void |
init()
Start the protocol |
void |
pause()
Pause the protocol (optional). |
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
void |
resume()
Resume the protocol (optional). |
void |
setAcceptorThreadPriority(int threadPriority)
|
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector |
void |
setAddress(java.net.InetAddress ia)
|
void |
setAlgorithm(java.lang.String s)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Pass config info |
void |
setBacklog(int i)
|
void |
setCiphers(java.lang.String s)
|
void |
setClientauth(java.lang.String s)
|
void |
setClientAuth(java.lang.String s)
|
void |
setClientCertProvider(java.lang.String s)
|
void |
setCompressableMimeType(java.lang.String valueS)
|
void |
setCompression(java.lang.String valueS)
|
void |
setCompressionMinSize(int valueI)
|
void |
setDisableUploadTimeout(boolean isDisabled)
|
void |
setExecutor(java.util.concurrent.Executor executor)
|
void |
setKeepAlive(boolean keepAlive)
Set the keep-alive policy for this connection. |
void |
setKeyAlias(java.lang.String s)
|
void |
setKeypass(java.lang.String s)
|
void |
setKeystore(java.lang.String s)
|
void |
setKeystoreFile(java.lang.String s)
|
void |
setKeystorePass(java.lang.String s)
|
void |
setKeystoreType(java.lang.String s)
|
void |
setKeytype(java.lang.String s)
|
void |
setMaxHttpHeaderSize(int valueI)
|
void |
setMaxKeepAliveRequests(int mkar)
Set the maximum number of Keep-Alive requests that we will honor. |
void |
setMaxSavePostSize(int valueI)
|
void |
setMaxThreads(int maxThreads)
|
void |
setNoCompressionUserAgents(java.lang.String valueS)
|
void |
setOomParachute(int oomParachute)
|
void |
setPollerThreadCount(int count)
|
void |
setPollerThreadPriority(int threadPriority)
|
void |
setPort(int port)
|
void |
setProcessorCache(int processorCache)
|
boolean |
setProperty(java.lang.String name,
java.lang.String value)
Set a property. |
void |
setProtocol(java.lang.String k)
|
void |
setProtocols(java.lang.String k)
|
void |
setRestrictedUserAgents(java.lang.String valueS)
|
void |
setSecure(boolean b)
|
void |
setSelectorTimeout(long timeout)
|
void |
setServer(java.lang.String server)
|
void |
setSocketBuffer(int valueI)
|
void |
setSocketCloseDelay(int d)
|
void |
setSoLinger(int i)
|
void |
setSoTimeout(int i)
|
void |
setSSLEnabled(boolean SSLEnabled)
|
void |
setSslEnabledProtocols(java.lang.String k)
|
void |
setSslProtocol(java.lang.String s)
|
void |
setTcpNoDelay(boolean b)
|
void |
setThreadPriority(int threadPriority)
|
void |
setTimeout(int timeouts)
|
void |
setTruststoreFile(java.lang.String f)
|
void |
setTruststorePass(java.lang.String p)
|
void |
setTruststoreType(java.lang.String t)
|
void |
setUseExecutor(boolean useexec)
|
void |
setUseSendfile(boolean useSendfile)
|
void |
start()
Start the protocol. |
Methods inherited from class org.apache.coyote.AbstractProtocol |
---|
createName, getLocalPort, getMaxCookieCount, getMaxHeaderCount, getNameIndex, nextNameIndex, setMaxCookieCount, setMaxHeaderCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JSSEImplementation sslImplementation
protected static StringManager sm
protected NioEndpoint ep
protected boolean secure
protected java.util.Hashtable<java.lang.String,java.lang.Object> attributes
protected int processorCache
protected java.lang.String clientCertProvider
X509Certificate
it needs to be
converted before it can be used and this property controls which JSSE
provider is used to perform the conversion. For example it is used with
the AJP connectors, the HTTP APR connector and with the
SSLValve
. If not specified, the
default provider will be used.
protected static Log log
protected java.lang.String domain
protected javax.management.ObjectName oname
protected javax.management.MBeanServer mserver
Constructor Detail |
---|
public Http11NioProtocol()
Method Detail |
---|
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface ProtocolHandler
public java.lang.Object getAttribute(java.lang.String key)
getAttribute
in interface ProtocolHandler
public java.util.Iterator<java.lang.String> getAttributeNames()
getAttributeNames
in interface ProtocolHandler
public boolean setProperty(java.lang.String name, java.lang.String value)
public java.lang.String getProperty(java.lang.String name)
public void setAdapter(Adapter adapter)
setAdapter
in interface ProtocolHandler
public Adapter getAdapter()
getAdapter
in interface ProtocolHandler
public void init() throws java.lang.Exception
init
in interface ProtocolHandler
java.lang.Exception
public void start() throws java.lang.Exception
ProtocolHandler
start
in interface ProtocolHandler
java.lang.Exception
public void pause() throws java.lang.Exception
ProtocolHandler
pause
in interface ProtocolHandler
java.lang.Exception
public void resume() throws java.lang.Exception
ProtocolHandler
resume
in interface ProtocolHandler
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface ProtocolHandler
java.lang.Exception
protected final AbstractEndpoint getEndpoint()
getEndpoint
in class AbstractProtocol
public void setPollerThreadCount(int count)
public int getPollerThreadCount()
public void setSelectorTimeout(long timeout)
public long getSelectorTimeout()
public java.util.concurrent.Executor getExecutor()
public void setExecutor(java.util.concurrent.Executor executor)
public void setUseExecutor(boolean useexec)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public void setThreadPriority(int threadPriority)
public void setAcceptorThreadPriority(int threadPriority)
public void setPollerThreadPriority(int threadPriority)
public int getThreadPriority()
public int getAcceptorThreadPriority()
public int getPollerThreadPriority()
public boolean getUseSendfile()
public void setUseSendfile(boolean useSendfile)
public int getBacklog()
public void setBacklog(int i)
public int getPort()
public void setPort(int port)
public java.net.InetAddress getAddress()
public void setAddress(java.net.InetAddress ia)
public java.lang.String getName()
public boolean getTcpNoDelay()
public void setTcpNoDelay(boolean b)
public boolean getDisableUploadTimeout()
public void setDisableUploadTimeout(boolean isDisabled)
public int getSocketBuffer()
public void setSocketBuffer(int valueI)
public java.lang.String getCompression()
public void setCompression(java.lang.String valueS)
public int getMaxSavePostSize()
public void setMaxSavePostSize(int valueI)
public int getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(int valueI)
public java.lang.String getRestrictedUserAgents()
public void setRestrictedUserAgents(java.lang.String valueS)
public java.lang.String getNoCompressionUserAgents()
public void setNoCompressionUserAgents(java.lang.String valueS)
public java.lang.String getCompressableMimeType()
public void setCompressableMimeType(java.lang.String valueS)
public int getCompressionMinSize()
public void setCompressionMinSize(int valueI)
public int getSoLinger()
public void setSoLinger(int i)
public int getSoTimeout()
public void setSoTimeout(int i)
public java.lang.String getProtocol()
public void setProtocol(java.lang.String k)
public boolean getSecure()
public void setSecure(boolean b)
public int getMaxKeepAliveRequests()
public void setMaxKeepAliveRequests(int mkar)
public boolean getKeepAlive()
public void setKeepAlive(boolean keepAlive)
public int getSocketCloseDelay()
public void setSocketCloseDelay(int d)
public void setServer(java.lang.String server)
public java.lang.String getServer()
public int getTimeout()
public void setTimeout(int timeouts)
public void setProcessorCache(int processorCache)
public void setOomParachute(int oomParachute)
public java.lang.String getKeystoreFile()
public void setKeystoreFile(java.lang.String s)
public void setKeystore(java.lang.String s)
public java.lang.String getKeystore()
public java.lang.String getKeyAlias()
public void setKeyAlias(java.lang.String s)
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String s)
public void setClientauth(java.lang.String s)
public java.lang.String getClientauth()
public java.lang.String getClientAuth()
public void setClientAuth(java.lang.String s)
public java.lang.String getKeystorePass()
public void setKeystorePass(java.lang.String s)
public void setKeypass(java.lang.String s)
public java.lang.String getKeypass()
public java.lang.String getKeystoreType()
public void setKeystoreType(java.lang.String s)
public java.lang.String getKeytype()
public void setKeytype(java.lang.String s)
public void setTruststoreFile(java.lang.String f)
public java.lang.String getTruststoreFile()
public void setTruststorePass(java.lang.String p)
public java.lang.String getTruststorePass()
public void setTruststoreType(java.lang.String t)
public java.lang.String getTruststoreType()
public java.lang.String getSslProtocol()
public void setSslProtocol(java.lang.String s)
public java.lang.String getCiphers()
public void setCiphers(java.lang.String s)
public boolean getSSLEnabled()
public void setSSLEnabled(boolean SSLEnabled)
public void setProtocols(java.lang.String k)
public void setSslEnabledProtocols(java.lang.String k)
public java.lang.String getClientCertProvider()
public void setClientCertProvider(java.lang.String s)
public javax.management.ObjectName getObjectName()
public java.lang.String getDomain()
public int getProcessorCache()
public int getOomParachute()
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
preRegister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postRegister(java.lang.Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public void preDeregister() throws java.lang.Exception
preDeregister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |