|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.tomcat.BaseGBean org.apache.geronimo.tomcat.connector.ConnectorGBean org.apache.geronimo.tomcat.connector.BaseHttp11ConnectorGBean
public abstract class BaseHttp11ConnectorGBean
Field Summary | |
---|---|
protected String |
connectHost
|
static GBeanInfo |
GBEAN_INFO
|
Fields inherited from class org.apache.geronimo.tomcat.connector.ConnectorGBean |
---|
connector, CONNECTOR_CONTAINER_REFERENCE, serverInfo |
Constructor Summary | |
---|---|
BaseHttp11ConnectorGBean(String name,
Map initParams,
String tomcatProtocol,
String host,
int port,
TomcatContainer container,
ServerInfo serverInfo)
|
Method Summary | |
---|---|
int |
getAcceptCount()
|
String |
getAddress()
|
int |
getBufferSize()
|
String |
getCompressableMimeType()
|
String |
getCompression()
|
int |
getConnectionLinger()
|
int |
getConnectionTimeout()
|
String |
getConnectUrl()
|
abstract int |
getDefaultPort()
|
boolean |
getDisableUploadTimeout()
|
String |
getExecutor()
|
static GBeanInfo |
getGBeanInfo()
|
String |
getHost()
Gets the hostname/IP that this connector listens on. |
int |
getKeepAliveTimeout()
|
InetSocketAddress |
getListenAddress()
Every connector must specify a property of type InetSocketAddress because we use that to identify the network services to print a list during startup. |
int |
getMaxHttpHeaderSize()
|
int |
getMaxKeepAliveRequests()
|
int |
getMaxSpareThreads()
|
int |
getMaxThreads()
|
int |
getMinSpareThreads()
|
String |
getNoCompressionUserAgents()
|
int |
getPort()
Gets the network port that this connector listens on. |
String |
getRestrictedUserAgents()
|
String |
getServer()
|
int |
getSocketBuffer()
|
Stats |
getStats()
Gets the statistics collected for this class. |
boolean |
getTcpNoDelay()
|
int |
getThreadPriority()
|
protected void |
initProtocol()
|
boolean |
isStatisticsProvider()
|
void |
resetStats()
Reset the startTime for all statistics |
void |
setAcceptCount(int acceptCount)
|
void |
setAddress(String address)
|
void |
setBufferSize(int bufferSize)
|
void |
setCompressableMimeType(String compressableMimeType)
|
void |
setCompression(String compression)
|
void |
setConnectionLinger(int connectionLinger)
|
void |
setConnectionTimeout(int connectionTimeout)
|
void |
setDisableUploadTimeout(boolean disableUploadTimeout)
|
void |
setExecutor(String executor)
|
void |
setHost(String host)
Sets the hostname/IP that this connector listens on. |
void |
setKeepAliveTimeout(int keepAliveTimeout)
|
void |
setMaxHttpHeaderSize(int maxHttpHeaderSize)
|
void |
setMaxKeepAliveRequests(int maxKeepAliveRequests)
|
void |
setMaxSpareThreads(int maxSpareThreads)
|
void |
setMaxThreads(int maxThreads)
|
void |
setMinSpareThreads(int minSpareThreads)
|
void |
setNoCompressionUserAgents(String noCompressionUserAgents)
|
void |
setPort(int port)
Sets the network port that this connector listens on. |
void |
setRestrictedUserAgents(String restrictedUserAgents)
|
void |
setServer(String server)
|
void |
setSocketBuffer(int socketBuffer)
|
void |
setTcpNoDelay(boolean tcpNoDelay)
|
void |
setThreadPriority(int threadPriority)
|
Methods inherited from class org.apache.geronimo.tomcat.connector.ConnectorGBean |
---|
doFail, doStart, doStop, getAllowTrace, getEmptySessionPath, getEnableLookups, getGeronimoProtocol, getInternalObject, getMaxPostSize, getMaxSavePostSize, getName, getProtocol, getProxyName, getProxyPort, getRedirectPort, getScheme, getSecure, getSslEnabled, getTomcatProtocol, getUriEncoding, getUseBodyEncodingForURI, getUseIPVHosts, getXpoweredBy, setAllowTrace, setEmptySessionPath, setEnableLookups, setMaxPostSize, setMaxSavePostSize, setProxyName, setProxyPort, setRedirectPort, setScheme, setSecure, setSslEnabled, setUriEncoding, setUseBodyEncodingForURI, setUseIPVHosts, setXpoweredBy, validateProtocol |
Methods inherited from class org.apache.geronimo.tomcat.BaseGBean |
---|
setParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String connectHost
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public BaseHttp11ConnectorGBean(String name, Map initParams, String tomcatProtocol, String host, int port, TomcatContainer container, ServerInfo serverInfo) throws Exception
Exception
Method Detail |
---|
protected void initProtocol()
public String getConnectUrl()
getConnectUrl
in interface TomcatWebConnector
public abstract int getDefaultPort()
getDefaultPort
in class ConnectorGBean
public int getAcceptCount()
getAcceptCount
in interface BaseHttp11Protocol
public String getAddress()
getAddress
in interface BaseHttp11Protocol
public int getBufferSize()
getBufferSize
in interface BaseHttp11Protocol
public String getCompressableMimeType()
getCompressableMimeType
in interface BaseHttp11Protocol
public String getCompression()
getCompression
in interface BaseHttp11Protocol
public int getConnectionLinger()
getConnectionLinger
in interface BaseHttp11Protocol
public int getConnectionTimeout()
getConnectionTimeout
in interface BaseHttp11Protocol
public boolean getDisableUploadTimeout()
getDisableUploadTimeout
in interface BaseHttp11Protocol
public String getExecutor()
getExecutor
in interface BaseHttp11Protocol
public String getHost()
NetworkConnector
getHost
in interface NetworkConnector
getHost
in interface BaseHttp11Protocol
public InetSocketAddress getListenAddress()
NetworkConnector
getListenAddress
in interface NetworkConnector
public int getKeepAliveTimeout()
getKeepAliveTimeout
in interface BaseHttp11Protocol
public int getMaxHttpHeaderSize()
getMaxHttpHeaderSize
in interface BaseHttp11Protocol
public int getMaxKeepAliveRequests()
getMaxKeepAliveRequests
in interface BaseHttp11Protocol
public int getMaxThreads()
getMaxThreads
in interface BaseHttp11Protocol
public int getMaxSpareThreads()
getMaxSpareThreads
in interface BaseHttp11Protocol
public int getMinSpareThreads()
getMinSpareThreads
in interface BaseHttp11Protocol
public String getNoCompressionUserAgents()
getNoCompressionUserAgents
in interface BaseHttp11Protocol
public int getPort()
NetworkConnector
getPort
in interface NetworkConnector
getPort
in interface BaseHttp11Protocol
public String getRestrictedUserAgents()
getRestrictedUserAgents
in interface BaseHttp11Protocol
public String getServer()
getServer
in interface BaseHttp11Protocol
public int getSocketBuffer()
getSocketBuffer
in interface BaseHttp11Protocol
public boolean getTcpNoDelay()
getTcpNoDelay
in interface BaseHttp11Protocol
public int getThreadPriority()
getThreadPriority
in interface BaseHttp11Protocol
public void setAcceptCount(int acceptCount)
setAcceptCount
in interface BaseHttp11Protocol
public void setAddress(String address)
setAddress
in interface BaseHttp11Protocol
public void setBufferSize(int bufferSize)
setBufferSize
in interface BaseHttp11Protocol
public void setCompressableMimeType(String compressableMimeType)
setCompressableMimeType
in interface BaseHttp11Protocol
public void setCompression(String compression)
setCompression
in interface BaseHttp11Protocol
public void setConnectionLinger(int connectionLinger)
setConnectionLinger
in interface BaseHttp11Protocol
public void setConnectionTimeout(int connectionTimeout)
setConnectionTimeout
in interface BaseHttp11Protocol
public void setDisableUploadTimeout(boolean disableUploadTimeout)
setDisableUploadTimeout
in interface BaseHttp11Protocol
public void setExecutor(String executor)
setExecutor
in interface BaseHttp11Protocol
public void setHost(String host)
NetworkConnector
setHost
in interface NetworkConnector
setHost
in interface BaseHttp11Protocol
public void setKeepAliveTimeout(int keepAliveTimeout)
setKeepAliveTimeout
in interface BaseHttp11Protocol
public void setMaxHttpHeaderSize(int maxHttpHeaderSize)
setMaxHttpHeaderSize
in interface BaseHttp11Protocol
public void setMaxKeepAliveRequests(int maxKeepAliveRequests)
setMaxKeepAliveRequests
in interface BaseHttp11Protocol
public void setMaxThreads(int maxThreads)
setMaxThreads
in interface BaseHttp11Protocol
public void setMaxSpareThreads(int maxSpareThreads)
setMaxSpareThreads
in interface BaseHttp11Protocol
public void setMinSpareThreads(int minSpareThreads)
setMinSpareThreads
in interface BaseHttp11Protocol
public void setNoCompressionUserAgents(String noCompressionUserAgents)
setNoCompressionUserAgents
in interface BaseHttp11Protocol
public void setPort(int port)
NetworkConnector
setPort
in interface NetworkConnector
setPort
in interface BaseHttp11Protocol
public void setRestrictedUserAgents(String restrictedUserAgents)
setRestrictedUserAgents
in interface BaseHttp11Protocol
public void setServer(String server)
setServer
in interface BaseHttp11Protocol
public void setSocketBuffer(int socketBuffer)
setSocketBuffer
in interface BaseHttp11Protocol
public void setTcpNoDelay(boolean tcpNoDelay)
setTcpNoDelay
in interface BaseHttp11Protocol
public void setThreadPriority(int threadPriority)
setThreadPriority
in interface BaseHttp11Protocol
public boolean isStatisticsProvider()
public Stats getStats()
StatisticsProvider
getStats
in interface StatisticsProvider
getStats
in class ConnectorGBean
public void resetStats()
StatisticsProvider
resetStats
in interface StatisticsProvider
resetStats
in class ConnectorGBean
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |