|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.coyote.http11.Http11AprProtocol
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 |
attributes
|
protected java.lang.String |
domain
|
protected AprEndpoint |
ep
|
protected static org.apache.commons.logging.Log |
log
|
protected javax.management.MBeanServer |
mserver
|
protected javax.management.ObjectName |
oname
|
protected boolean |
secure
|
protected static StringManager |
sm
The string manager for this package. |
Constructor Summary | |
Http11AprProtocol()
|
Method Summary | |
void |
destroy()
|
Adapter |
getAdapter()
|
java.net.InetAddress |
getAddress()
|
java.lang.Object |
getAttribute(java.lang.String key)
|
java.util.Iterator |
getAttributeNames()
|
int |
getBacklog()
|
java.lang.String |
getCompressableMimeType()
|
java.lang.String |
getCompression()
|
int |
getCompressionMinSize()
|
boolean |
getDisableUploadTimeout()
|
java.lang.String |
getDomain()
|
int |
getFirstReadTimeout()
|
boolean |
getKeepAlive()
Return the Keep-Alive policy for the connection. |
int |
getMaxHeaderCount()
|
int |
getMaxHttpHeaderSize()
|
int |
getMaxKeepAliveRequests()
|
int |
getMaxSavePostSize()
|
int |
getMaxThreads()
|
java.lang.String |
getName()
|
java.lang.String |
getNoCompressionUserAgents()
|
javax.management.ObjectName |
getObjectName()
|
int |
getPollerSize()
|
int |
getPollTime()
|
int |
getPort()
|
java.lang.String |
getProperty(java.lang.String name)
Get a property |
java.lang.String |
getProtocol()
|
java.lang.String |
getRestrictedUserAgents()
|
boolean |
getSecure()
|
int |
getSendfileSize()
|
java.lang.String |
getServer()
|
int |
getSocketBuffer()
|
int |
getSocketCloseDelay()
|
int |
getSoLinger()
|
int |
getSoTimeout()
|
java.lang.String |
getSSLCACertificateFile()
SSL CA certificate file. |
java.lang.String |
getSSLCACertificatePath()
SSL CA certificate path. |
java.lang.String |
getSSLCARevocationFile()
SSL CA revocation file. |
java.lang.String |
getSSLCARevocationPath()
SSL CA revocation path. |
java.lang.String |
getSSLCertificateChainFile()
SSL certificate chain file. |
java.lang.String |
getSSLCertificateFile()
SSL certificate file. |
java.lang.String |
getSSLCertificateKeyFile()
SSL certificate key file. |
java.lang.String |
getSSLCipherSuite()
SSL cipher suite. |
java.lang.String |
getSSLEngine()
SSL engine. |
java.lang.String |
getSSLPassword()
SSL password (if a cert is encrypted, and no password has been provided, a callback will ask for a password). |
java.lang.String |
getSSLProtocol()
SSL protocol. |
java.lang.String |
getSSLVerifyClient()
SSL verify client. |
int |
getSSLVerifyDepth()
SSL verify depth. |
boolean |
getTcpNoDelay()
|
int |
getThreadPriority()
|
int |
getTimeout()
|
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 |
setAdapter(Adapter adapter)
The adapter, used to call the connector |
void |
setAddress(java.net.InetAddress ia)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Pass config info |
void |
setBacklog(int i)
|
void |
setCompressableMimeType(java.lang.String valueS)
|
void |
setCompression(java.lang.String valueS)
|
void |
setCompressionMinSize(int valueI)
|
void |
setDisableUploadTimeout(boolean isDisabled)
|
void |
setFirstReadTimeout(int i)
|
void |
setKeepAlive(boolean keepAlive)
Set the keep-alive policy for this connection. |
void |
setMaxHeaderCount(int maxHeaderCount)
|
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 |
setPollerSize(int i)
|
void |
setPollTime(int i)
|
void |
setPort(int port)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Set a property. |
void |
setProtocol(java.lang.String k)
|
void |
setRestrictedUserAgents(java.lang.String valueS)
|
void |
setSecure(boolean b)
|
void |
setSendfileSize(int i)
|
void |
setServer(java.lang.String server)
|
void |
setSocketBuffer(int valueI)
|
void |
setSocketCloseDelay(int d)
|
void |
setSoLinger(int i)
|
void |
setSoTimeout(int i)
|
void |
setSSLCACertificateFile(java.lang.String SSLCACertificateFile)
|
void |
setSSLCACertificatePath(java.lang.String SSLCACertificatePath)
|
void |
setSSLCARevocationFile(java.lang.String SSLCARevocationFile)
|
void |
setSSLCARevocationPath(java.lang.String SSLCARevocationPath)
|
void |
setSSLCertificateChainFile(java.lang.String SSLCertificateChainFile)
|
void |
setSSLCertificateFile(java.lang.String SSLCertificateFile)
|
void |
setSSLCertificateKeyFile(java.lang.String SSLCertificateKeyFile)
|
void |
setSSLCipherSuite(java.lang.String SSLCipherSuite)
|
void |
setSSLEngine(java.lang.String SSLEngine)
|
void |
setSSLPassword(java.lang.String SSLPassword)
|
void |
setSSLProtocol(java.lang.String SSLProtocol)
|
void |
setSSLVerifyClient(java.lang.String SSLVerifyClient)
|
void |
setSSLVerifyDepth(int SSLVerifyDepth)
|
void |
setTcpNoDelay(boolean b)
|
void |
setThreadPriority(int threadPriority)
|
void |
setTimeout(int timeouts)
|
void |
setUseSendfile(boolean useSendfile)
|
void |
start()
Start the protocol. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static StringManager sm
protected AprEndpoint ep
protected boolean secure
protected java.util.Hashtable attributes
protected static org.apache.commons.logging.Log log
protected java.lang.String domain
protected javax.management.ObjectName oname
protected javax.management.MBeanServer mserver
Constructor Detail |
public Http11AprProtocol()
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 getAttributeNames()
getAttributeNames
in interface ProtocolHandler
public void 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
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public void setThreadPriority(int threadPriority)
public int getThreadPriority()
public int getBacklog()
public void setBacklog(int i)
public int getPort()
public void setPort(int port)
public int getFirstReadTimeout()
public void setFirstReadTimeout(int i)
public int getPollTime()
public void setPollTime(int i)
public void setPollerSize(int i)
public int getPollerSize()
public void setSendfileSize(int i)
public int getSendfileSize()
public boolean getUseSendfile()
public void setUseSendfile(boolean useSendfile)
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 int getMaxHeaderCount()
public void setMaxHeaderCount(int maxHeaderCount)
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 java.lang.String getSSLEngine()
public void setSSLEngine(java.lang.String SSLEngine)
public java.lang.String getSSLProtocol()
public void setSSLProtocol(java.lang.String SSLProtocol)
public java.lang.String getSSLPassword()
public void setSSLPassword(java.lang.String SSLPassword)
public java.lang.String getSSLCipherSuite()
public void setSSLCipherSuite(java.lang.String SSLCipherSuite)
public java.lang.String getSSLCertificateFile()
public void setSSLCertificateFile(java.lang.String SSLCertificateFile)
public java.lang.String getSSLCertificateKeyFile()
public void setSSLCertificateKeyFile(java.lang.String SSLCertificateKeyFile)
public java.lang.String getSSLCertificateChainFile()
public void setSSLCertificateChainFile(java.lang.String SSLCertificateChainFile)
public java.lang.String getSSLCACertificatePath()
public void setSSLCACertificatePath(java.lang.String SSLCACertificatePath)
public java.lang.String getSSLCACertificateFile()
public void setSSLCACertificateFile(java.lang.String SSLCACertificateFile)
public java.lang.String getSSLCARevocationPath()
public void setSSLCARevocationPath(java.lang.String SSLCARevocationPath)
public java.lang.String getSSLCARevocationFile()
public void setSSLCARevocationFile(java.lang.String SSLCARevocationFile)
public java.lang.String getSSLVerifyClient()
public void setSSLVerifyClient(java.lang.String SSLVerifyClient)
public int getSSLVerifyDepth()
public void setSSLVerifyDepth(int SSLVerifyDepth)
public javax.management.ObjectName getObjectName()
public java.lang.String getDomain()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |