Method Summary |
|
public void | addLifecycleListener(LifecycleListener listener) Add a lifecycle event listener to this component. |
public Request | createRequest() Create (or allocate) and return a Request object suitable for
specifying the contents of a Request to the responsible Container. |
public Response | createResponse() Create (or allocate) and return a Response object suitable for
receiving the contents of a Response from the responsible Container. |
public LifecycleListener[] | findLifecycleListeners() Get the lifecycle listeners associated with this lifecycle. |
public int | getAcceptCount() Return the accept count for this Connector. |
public String | getAddress() Return the bind IP address for this Connector. |
public int | getBufferSize() Return the input buffer size for this Connector. |
public int | getConnectionTimeout() Return the connection timeout for this Connector. |
public Container | getContainer() Return the Container used for processing requests received by this
Connector. |
public int | getCurProcessors() Return the current number of processors that have been created. |
public int | getDebug() Return the debugging detail level for this component. |
public boolean | getEnableLookups() Return the "enable DNS lookups" flag. |
public ServerSocketFactory | getFactory() Return the server socket factory used by this Container. |
public String | getInfo() Return descriptive information about this Connector implementation. |
public int | getMaxProcessors() Return the maximum number of processors allowed, or <0 for unlimited. |
public int | getMinProcessors() Return the minimum number of processors to start at initialization. |
public int | getPort() Return the port number on which we listen for HTTP requests. |
public String | getProxyName() Return the proxy server name for this Connector. |
public int | getProxyPort() Return the proxy server port for this Connector. |
public int | getRedirectPort() Return the port number to which a request should be redirected if
it comes in on a non-SSL port and is subject to a security constraint
with a transport guarantee that requires SSL. |
public String | getScheme() Return the scheme that will be assigned to requests received
through this connector. |
public boolean | getSecure() Return the secure connection flag that will be assigned to requests
received through this connector. |
public Service | getService() Return the Service with which we are associated (if any). |
public void | initialize() |
public boolean | isAvailable() |
void | recycle(HttpProcessor processor) Recycle the specified Processor so that it can be used again. |
public void | removeLifecycleListener(LifecycleListener listener) Remove a lifecycle event listener from this component. |
public void | run() The background thread that listens for incoming TCP/IP connections and
hands them off to an appropriate processor. |
public void | setAcceptCount(int count) Set the accept count for this Connector. |
public void | setAddress(String address) Set the bind IP address for this Connector. |
public void | setBufferSize(int bufferSize) Set the input buffer size for this Connector. |
public void | setConnectionTimeout(int connectionTimeout) Set the connection timeout for this Connector. |
public void | setContainer(Container container) Set the Container used for processing requests received by this
Connector. |
public void | setDebug(int debug) Set the debugging detail level for this component. |
public void | setEnableLookups(boolean enableLookups) Set the "enable DNS lookups" flag. |
public void | setFactory(ServerSocketFactory factory) Set the server socket factory used by this Container. |
public void | setMaxProcessors(int maxProcessors) Set the maximum number of processors allowed, or <0 for unlimited. |
public void | setMinProcessors(int minProcessors) Set the minimum number of processors to start at initialization. |
public void | setPort(int port) Set the port number on which we listen for HTTP requests. |
public void | setProxyName(String proxyName) Set the proxy server name for this Connector. |
public void | setProxyPort(int proxyPort) Set the proxy server port for this Connector. |
public void | setRedirectPort(int redirectPort) Set the redirect port number. |
public void | setScheme(String scheme) Set the scheme that will be assigned to requests received through
this connector. |
public void | setSecure(boolean secure) Set the secure connection flag that will be assigned to requests
received through this connector. |
public void | setService(Service service) Set the Service with which we are associated (if any). |
public void | start() Begin processing requests via this Connector. |
public void | stop() Terminate processing requests via this Connector. |