|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebConnector
The common configuration settings for a web container network connector -- that is, the protocol and network settings used to connect to the web container (with a variety of tuning arguments as well). http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html http://mortbay.org/javadoc/org/mortbay/http/SocketListener.html
Method Summary | |
---|---|
int |
getAcceptQueueSize()
Gets the maximum number of connections that may be queued while all threads are busy. |
int |
getBufferSizeBytes()
Gets the size of the buffer used to handle network data for this connector. |
String |
getConnectUrl()
Gets a URL used to connect to the web server via this connector. |
int |
getLingerMillis()
Gets the amount of time the socket used by this connector will linger after being closed |
int |
getMaxThreads()
Gets the maximum number of threads used to service connections from this connector. |
int |
getRedirectPort()
Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection. |
boolean |
isTcpNoDelay()
Gets whether the TCP_NODELAY flag is set for the sockets used by this connector. |
void |
setAcceptQueueSize(int size)
Sets the maximum number of connections that may be queued while all threads are busy. |
void |
setBufferSizeBytes(int bytes)
Gets the size of the buffer used to handle network data for this connector. |
void |
setLingerMillis(int millis)
Sets the amount of time the socket used by this connector will linger after being closed. |
void |
setMaxThreads(int threads)
Sets the maximum number of threads used to service connections from this connector. |
void |
setRedirectPort(int port)
Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection. |
void |
setTcpNoDelay(boolean enable)
Sets whether the TCP_NODELAY flag is set for the sockets used by this connector. |
Methods inherited from interface org.apache.geronimo.management.geronimo.NetworkConnector |
---|
getHost, getListenAddress, getPort, getProtocol, setHost, setPort |
Method Detail |
---|
int getBufferSizeBytes()
void setBufferSizeBytes(int bytes)
int getMaxThreads()
void setMaxThreads(int threads)
int getAcceptQueueSize()
void setAcceptQueueSize(int size)
int getLingerMillis()
void setLingerMillis(int millis)
boolean isTcpNoDelay()
void setTcpNoDelay(boolean enable)
int getRedirectPort()
void setRedirectPort(int port)
String getConnectUrl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |