Methods Summary |
---|
public int | getBufferSize()Return the request input buffer size
|
public boolean | getDropConnection()Is the keep-alive mechanism enabled or disabled.
|
public Handler | getHandler()Get the Handler used by this instance.
|
public int | getMaxPostSize()Return the maximum size of a POST which will be buffered in SSL mode.
|
public java.lang.String | getRequestURI()Return the request URI.
|
public java.net.Socket | getSocket()Return the current Socket used by this instance
|
public long | getWorkerThreadID()Return the current WorkerThread ID associated with this instance.
|
public void | initialize()Initialize the stream and the buffer used to parse the request.
|
public void | invokeAdapter()Invoke the Adapter , which usualy invoke the Servlet
Container.
|
public boolean | isError()Has an error occured duing the HTTP parsing?
|
public boolean | isKeepAlive()Return true if the connection header was keep-alive.
|
public void | parseRequest()Parse the request line and the http header.
|
public boolean | parseRequest(java.io.InputStream input, java.io.OutputStream output, boolean keptAlive)Parse the request line and the http header.
|
public void | postProcess(java.io.InputStream input, java.io.OutputStream output)Post process the http request, after the response has been
commited.
|
public void | postProcess()Post process the http request, after the response has been
commited.
|
public void | postResponse()Prepare and post the response.
|
public void | preProcess()Pre process the request by decoding the request line and the header.
|
public void | preProcess(java.io.InputStream input, java.io.OutputStream output)Pre process the request by decoding the request line and the header.
|
public boolean | process(java.io.InputStream input, java.io.OutputStream output)Process pipelined HTTP requests using the specified input and output
streams.
|
public void | setBufferSize(int requestBufferSize)Set the request input buffer size
|
public void | setDropConnection(boolean dropConnection)Enable or disable the keep-alive mechanism. Setting this value
to false will automatically add the following header to the
response ' Connection: close '
|
public void | setHandler(Handler handler)Set the Handler used by this instance.
|
public void | setMaxHttpHeaderSize(int maxHttpHeaderSize)
|
public void | setMaxPostSize(int mps)Set the maximum size of a POST which will be buffered in SSL mode.
|
public void | setSocket(java.net.Socket socket)Set the socket associated with this HTTP connection.
|
public void | setTimeout(int timeouts)Set the upload timeout.
|
public void | terminateProcess()Notify the TaskListener that the request has been
fully processed.
|