setBufferSize

getBufferReserve

Get the size of the header reserve area.
Get the size of the header reserve area within the buffers used
by connections from this listener. The header reserve is space
reserved in the first buffer of a response to allow a HTTP header to
be written in the same packet. The reserve should be large enough to
avoid moving data to fit the header, but not too large as to waste memory.

getDefaultScheme

Get the default scheme for requests.
If a request is received from a HttpConnection created by this
listener, that does not include a scheme in it's request URL, then
this method is used to determine the protocol scheme most likely used
to connect to this listener.

stop

Stop the ThreadPool. New jobs are no longer accepted,idle threads are interrupted and
stopJob is called on active threads. The method then waits
min(getMaxStopTimeMs(),getMaxIdleTimeMs()), for all jobs to stop, at which time killJob is
called.

java.lang.InterruptedException - Stopping a lifecycle is rarely atomic
and may be interrupted by another thread. If this happens
InterruptedException is throw and the component will be in an
indeterminant state and should probably be discarded.

getRemoteServers

public java.lang.String[] getRemoteServers()

Returns:

Array of accepted remote server hostnames or IPs.

setRemoteServers

public void setRemoteServers(java.lang.String[] servers)

Set accepted remote servers. The AJP13 protocol is not secure and
contains no authentication. If remote servers are set, then this listener
will only accept connections from hosts with matching addresses or
hostnames.

getIntegralScheme

Get the protocol scheme to use for integral redirections.
If an INTEGRAL security constraint is not met for a request, the
request is redirected to an integral port. This scheme return by this
method is used for that redirection.

setIntegralScheme

getIntegralPort

Get the protocol port to use for integral redirections.
If an INTEGRAL security constraint is not met for a request, the
request is redirected to an integral port. This port return by this
method is used for that redirection.

setIntegralPort

getConfidentialScheme

Get the protocol scheme to use for confidential redirections.
If an CONFIDENTIAL security constraint is not met for a request, the
request is redirected to an confidential port. This scheme return by this
method is used for that redirection.

setConfidentialScheme

getConfidentialPort

Get the protocol port to use for confidential redirections.
If an CONFIDENTIAL security constraint is not met for a request, the
request is redirected to an confidential port. This port return by this
method is used for that redirection.

setConfidentialPort

getHttpHandler

Get an optional HttpHandler for the listener.
If Set, then HttpConnection will pass requests from this listener
to this handler with an empty context path, before passing the
request to the HttpServer. This allows listener specific handling
to be added or even a HttpContext (which is a HttpHandler) to be
bound directly to HttpListener.