Method Summary |
|
public int | getAcceptQueueSize() Gets the maximum number of connections that may be queued while all
threads are busy. |
public int | getBufferSizeBytes() Gets the size of the buffer used to handle network data for this
connector. |
public String | getConnectUrl() Gets a URL used to connect to the web server via this connector.
This is not guaranteed to work (for example, if the server is
located behind a proxy), but it should give a reasonable value if
possible. |
public int | getHeaderBufferSizeBytes() Gets the size of the header buffer used to handle network data for this
connector. |
public int | getLingerMillis() Gets the amount of time the socket used by this connector will linger
after being closed. |
public int | getMaxThreads() Gets the maximum number of threads used to service connections from
this connector. |
public 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. |
public boolean | isTcpNoDelay() Gets whether the TCP_NODELAY flag is set for the sockets used by this
connector. |
public void | setAcceptQueueSize(int size) Sets the maximum number of connections that may be queued while all
threads are busy. |
public void | setBufferSizeBytes(int bytes) Gets the size of the buffer used to handle network data for this
connector. |
public void | setHeaderBufferSizeBytes(int bytes) Sets the size of the Header buffer used to handle network data for this
connector. |
public void | setLingerMillis(int millis) Sets the amount of time the socket used by this connector will linger
after being closed. |
public void | setMaxThreads(int threads) Sets the maximum number of threads used to service connections from
this connector. |
public 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. |
public void | setTcpNoDelay(boolean enable) Sets whether the TCP_NODELAY flag is set for the sockets used by this
connector. |