public class Http11NioProtocol extends Http11AbstractProtocol
Http11NioProtocol
Created on Jan 10, 2012 at 3:14:49 PMModifier and Type | Field and Description |
---|---|
protected NioEndpoint |
endpoint |
protected NioJSSESocketChannelFactory |
socketFactory |
adapter, attributes, canDestroy, compressableMimeTypes, compression, compressionMinSize, disableUploadTimeout, domain, maxHttpHeaderSize, maxKeepAliveRequests, maxSavePostSize, mserver, noCompressionUserAgents, oname, processorCache, protocol, restrictedUserAgents, rgOname, secure, server, socketBuffer, sslImplementation, timeout, tpOname
Constructor and Description |
---|
Http11NioProtocol()
Create a new instance of
Http11NioProtocol |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
InetAddress |
getAddress() |
int |
getBacklog() |
boolean |
getDeferAccept() |
Executor |
getExecutor() |
String |
getJmxName() |
boolean |
getKeepAlive()
Return the Keep-Alive policy for the connection.
|
int |
getKeepAliveTimeout()
The number of seconds Tomcat will wait for a subsequent request before
closing the connection.
|
int |
getMaxThreads() |
String |
getName() |
int |
getPollerSize() |
int |
getPort() |
RequestGroupInfo |
getRequestGroupInfo() |
boolean |
getReverseConnection() |
int |
getSendfileSize() |
int |
getSoLinger() |
int |
getSoTimeout() |
String |
getSSLCACertificateFile()
SSL CA certificate file.
|
String |
getSSLCACertificatePath()
SSL CA certificate path.
|
String |
getSSLCARevocationFile()
SSL CA revocation file.
|
String |
getSSLCARevocationPath()
SSL CA revocation path.
|
String |
getSSLCertificateChainFile()
SSL certificate chain file.
|
String |
getSSLCertificateFile()
SSL certificate file.
|
String |
getSSLCertificateKeyFile()
SSL certificate key file.
|
String |
getSSLCipherSuite()
SSL cipher suite.
|
String |
getSSLPassword()
SSL password (if a cert is encrypted, and no password has been provided,
a callback will ask for a password).
|
String |
getSSLProtocol()
SSL protocol.
|
String |
getSSLVerifyClient()
SSL verify client.
|
int |
getSSLVerifyDepth()
SSL verify depth.
|
boolean |
getTcpNoDelay() |
int |
getThreadPriority() |
boolean |
getUseSendfile() |
void |
init()
Init the protocol.
|
boolean |
isSSLEnabled()
SSL engine.
|
void |
pause()
Pause the protocol (optional).
|
void |
resume()
Resume the protocol (optional).
|
void |
setAddress(InetAddress ia)
Setter for the IP address
|
void |
setBacklog(int backlog)
Setter for the backlog
|
void |
setDeferAccept(boolean deferAccept)
Set the defer accept
|
void |
setExecutor(Executor executor)
Setter for the executor
|
void |
setKeepAlive(boolean keepAlive)
Set the keep-alive policy for this connection.
|
void |
setKeepAliveTimeout(int timeout)
Set the keep alive timeout value
|
void |
setMaxThreads(int maxThreads)
Setter for the maximum number of threads
|
void |
setPollerSize(int size) |
void |
setPort(int port)
Setter for the port number
|
void |
setReverseConnection(boolean reverseConnection)
Set the reverse connection
|
void |
setSendfileSize(int sendfileSize) |
void |
setSoLinger(int soLinger) |
void |
setSoTimeout(int soTimeout)
Setter for the socket timeout
|
void |
setSSLCACertificateFile(String SSLCACertificateFile) |
void |
setSSLCACertificatePath(String SSLCACertificatePath) |
void |
setSSLCARevocationFile(String SSLCARevocationFile) |
void |
setSSLCARevocationPath(String SSLCARevocationPath) |
void |
setSSLCertificateChainFile(String SSLCertificateChainFile) |
void |
setSSLCertificateFile(String SSLCertificateFile) |
void |
setSSLCertificateKeyFile(String SSLCertificateKeyFile) |
void |
setSSLCipherSuite(String SSLCipherSuite) |
void |
setSSLEnabled(boolean SSLEnabled) |
void |
setSSLPassword(String SSLPassword) |
void |
setSSLProtocol(String SSLProtocol) |
void |
setSSLVerifyClient(String SSLVerifyClient) |
void |
setSSLVerifyDepth(int SSLVerifyDepth) |
void |
setTcpNoDelay(boolean tcpNoDelay) |
void |
setThreadPriority(int threadPriority)
Setter for the thread priority
|
void |
setUseSendfile(boolean useSendfile)
Set the user send file
|
void |
start()
Start the protocol.
|
getAdapter, getAlgorithm, getAttribute, getAttributeNames, getAttributes, getCanDestroy, getCiphers, getClientauth, getCompressableMimeType, getCompression, getCompressionMinSize, getDisableUploadTimeout, getDomain, getKeyAlias, getKeypass, getKeystore, getKeytype, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMserver, getNoCompressionUserAgents, getObjectName, getProcessorCache, getProtocol, getProtocols, getRestrictedUserAgents, getRgOname, getServer, getSocketBuffer, getSSLContext, getTimeout, getTpOname, hasIoEvents, isSecure, postDeregister, postRegister, preDeregister, preRegister, setAdapter, setAlgorithm, setAttribute, setAttributes, setCanDestroy, setCiphers, setClientauth, setCompressableMimeType, setCompression, setCompressionMinSize, setDisableUploadTimeout, setDomain, setKeyAlias, setKeypass, setKeystore, setKeytype, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMserver, setNoCompressionUserAgents, setObjectName, setProcessorCache, setProtocol, setProtocols, setRestrictedUserAgents, setRgOname, setSecure, setServer, setSocketBuffer, setSSLContext, setTimeout, setTpOname
protected NioEndpoint endpoint
protected NioJSSESocketChannelFactory socketFactory
public Http11NioProtocol()
Http11NioProtocol
public RequestGroupInfo getRequestGroupInfo()
public void init() throws Exception
ProtocolHandler
Exception
public void start() throws Exception
ProtocolHandler
Exception
public void pause() throws Exception
ProtocolHandler
Exception
public void resume() throws Exception
ProtocolHandler
Exception
public String getJmxName()
public String getName()
getName
in class Http11AbstractProtocol
public Executor getExecutor()
public void setExecutor(Executor executor)
executor
- the executor to setpublic int getMaxThreads()
public void setMaxThreads(int maxThreads)
maxThreads
- the maximum number of threads to setpublic void setPollerSize(int size)
size
- public int getPollerSize()
public int getThreadPriority()
public void setThreadPriority(int threadPriority)
threadPriority
- the thread priority to setpublic int getBacklog()
public void setBacklog(int backlog)
backlog
- the backlog to setpublic int getPort()
public void setPort(int port)
port
- the port number to setpublic InetAddress getAddress()
public void setAddress(InetAddress ia)
ia
- the IP address to setpublic boolean getTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
tcpNoDelay
- public int getSoLinger()
public void setSoLinger(int soLinger)
soLinger
- the soLinger to setpublic int getSoTimeout()
public void setSoTimeout(int soTimeout)
soTimeout
- public boolean getReverseConnection()
public void setReverseConnection(boolean reverseConnection)
reverseConnection
- public boolean getDeferAccept()
public void setDeferAccept(boolean deferAccept)
deferAccept
- public int getKeepAliveTimeout()
public void setKeepAliveTimeout(int timeout)
timeout
- public boolean getUseSendfile()
public void setUseSendfile(boolean useSendfile)
useSendfile
- public int getSendfileSize()
public void setSendfileSize(int sendfileSize)
sendfileSize
- public boolean getKeepAlive()
public void setKeepAlive(boolean keepAlive)
keepAlive
- public boolean isSSLEnabled()
public void setSSLEnabled(boolean SSLEnabled)
SSLEnabled
- public String getSSLProtocol()
public void setSSLProtocol(String SSLProtocol)
SSLProtocol
- public String getSSLPassword()
public void setSSLPassword(String SSLPassword)
SSLPassword
- public String getSSLCipherSuite()
public void setSSLCipherSuite(String SSLCipherSuite)
SSLCipherSuite
- public String getSSLCertificateFile()
public void setSSLCertificateFile(String SSLCertificateFile)
SSLCertificateFile
- public String getSSLCertificateKeyFile()
public void setSSLCertificateKeyFile(String SSLCertificateKeyFile)
SSLCertificateKeyFile
- public String getSSLCertificateChainFile()
public void setSSLCertificateChainFile(String SSLCertificateChainFile)
SSLCertificateChainFile
- public String getSSLCACertificatePath()
public void setSSLCACertificatePath(String SSLCACertificatePath)
SSLCACertificatePath
- public String getSSLCACertificateFile()
public void setSSLCACertificateFile(String SSLCACertificateFile)
SSLCACertificateFile
- public String getSSLCARevocationPath()
public void setSSLCARevocationPath(String SSLCARevocationPath)
SSLCARevocationPath
- public String getSSLCARevocationFile()
public void setSSLCARevocationFile(String SSLCARevocationFile)
SSLCARevocationFile
- public String getSSLVerifyClient()
public void setSSLVerifyClient(String SSLVerifyClient)
SSLVerifyClient
- public int getSSLVerifyDepth()
public void setSSLVerifyDepth(int SSLVerifyDepth)
SSLVerifyDepth
- the SSL verify depthCopyright © 2015 JBoss by Red Hat. All rights reserved.