public class Http11Protocol extends Object implements ProtocolHandler, MBeanRegistration
| Modifier and Type | Field and Description |
|---|---|
protected Adapter |
adapter |
protected Hashtable |
attributes |
protected boolean |
blocking |
protected String |
compression
Compression value.
|
protected boolean |
disableUploadTimeout |
protected String |
domain |
protected PoolTcpEndpoint |
ep |
protected static com.sun.org.apache.commons.logging.Log |
log |
protected int |
maxHttpHeaderSize |
protected int |
maxPostSize |
protected MBeanServer |
mserver |
protected ObjectName |
oname |
protected int |
requestBufferSize
The input request buffer size.
|
protected boolean |
secure |
protected String |
selectorThreadImpl
The
SelectorThread implementation class. |
protected static StringManager |
sm
The string manager for this package.
|
protected int |
socketCloseDelay |
protected ServerSocketFactory |
socketFactory |
protected String |
socketFactoryName |
protected SSLImplementation |
sslImplementation |
protected String |
sslImplementationName |
static int |
THREAD_DATA_OBJECT_NAME |
static int |
THREAD_DATA_PROCESSOR |
protected int |
timeout |
protected ThreadPool |
tp |
| Constructor and Description |
|---|
Http11Protocol() |
Http11Protocol(boolean secure,
boolean blocking,
String selectorThreadImpl) |
protected boolean blocking
protected String selectorThreadImpl
SelectorThread implementation class. Not used when
Coyote is used.protected static final StringManager sm
protected ThreadPool tp
protected PoolTcpEndpoint ep
protected boolean secure
protected ServerSocketFactory socketFactory
protected SSLImplementation sslImplementation
protected Hashtable attributes
protected String socketFactoryName
protected String sslImplementationName
protected int timeout
protected int maxPostSize
protected int maxHttpHeaderSize
protected int socketCloseDelay
protected boolean disableUploadTimeout
protected Adapter adapter
protected int requestBufferSize
protected String compression
public static final int THREAD_DATA_PROCESSOR
public static final int THREAD_DATA_OBJECT_NAME
protected static final com.sun.org.apache.commons.logging.Log log
protected String domain
protected ObjectName oname
protected MBeanServer mserver
public Http11Protocol()
public Http11Protocol(boolean secure,
boolean blocking,
String selectorThreadImpl)
protected void create()
public int getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(int valueI)
public void setAttribute(String name, Object value)
setAttribute in interface ProtocolHandlerpublic Object getAttribute(String key)
getAttribute in interface ProtocolHandlerpublic void setAdapter(Adapter adapter)
setAdapter in interface ProtocolHandlerpublic Adapter getAdapter()
getAdapter in interface ProtocolHandlerpublic void init()
throws Exception
init in interface ProtocolHandlerExceptionpublic void start()
throws Exception
ProtocolHandlerstart in interface ProtocolHandlerExceptionpublic void destroy()
throws Exception
destroy in interface ProtocolHandlerExceptionpublic boolean getPools()
public void setPools(boolean t)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public int getMaxSpareThreads()
public void setMaxSpareThreads(int maxThreads)
public int getMinSpareThreads()
public void setMinSpareThreads(int minSpareThreads)
public int getBacklog()
public void setBacklog(int i)
public int getPort()
public void setPort(int port)
public InetAddress getAddress()
public void setAddress(InetAddress ia)
public String getSocketFactory()
public void setSocketFactory(String valueS)
public String getSSLImplementation()
public void setSSLImplementation(String valueS)
public boolean getTcpNoDelay()
public void setTcpNoDelay(boolean b)
public boolean getDisableUploadTimeout()
public void setDisableUploadTimeout(boolean isDisabled)
public String getCompression()
public void setCompression(String valueS)
public int getMaxPostSize()
public void setMaxPostSize(int valueI)
public int getSoLinger()
public void setSoLinger(int i)
public int getSoTimeout()
public void setSoTimeout(int i)
public int getServerSoTimeout()
public void setServerSoTimeout(int i)
public String getKeystore()
public void setKeystore(String k)
public String getKeypass()
public void setKeypass(String k)
public String getKeytype()
public void setKeytype(String k)
public void setTruststore(String truststore)
public void setTruststoreType(String truststoreType)
public String getClientauth()
public void setClientauth(String k)
public String getProtocol()
public void setProtocol(String k)
public String getProtocols()
public void setProtocols(String k)
public String getAlgorithm()
public void setAlgorithm(String k)
public boolean getSecure()
public void setSecure(boolean b)
public boolean getBlocking()
public void setBlocking(boolean b)
public String getCiphers()
public void setCiphers(String ciphers)
public String getKeyAlias()
public void setKeyAlias(String keyAlias)
public int getMaxKeepAliveRequests()
public void setMaxKeepAliveRequests(int mkar)
public int getSocketCloseDelay()
public void setSocketCloseDelay(int d)
protected static ServerSocketFactory string2SocketFactory(String val) throws ClassNotFoundException, IllegalAccessException, InstantiationException
public int getTimeout()
public void setTimeout(int timeouts)
public String getReportedname()
public void setReportedname(String reportedName)
public ObjectName getObjectName()
public String getDomain()
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister in interface MBeanRegistrationExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpublic void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationpublic void setBufferSize(int requestBufferSize)
public int getBufferSize()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.