Method Summary |
|
public ServletInputStream | createInputStream() Create and return a ServletInputStream to read the content
associated with this Request. |
public void | finishRequest() Perform whatever actions are required to flush and close the input
stream or reader, in a single operation. |
public String | getAuthorization() Return the authorization credentials sent with this request. |
public Connector | getConnector() Return the Connector through which this Request was received. |
public Context | getContext() Return the Context within which this Request is being processed. |
public FilterChain | getFilterChain() Get filter chain associated with the request. |
public Host | getHost() Return the Host within which this Request is being processed. |
public String | getInfo() Return descriptive information about this Request implementation and
the corresponding version number, in the format
<description>/<version> . |
public Object | getNote(String name) Return the object bound with the specified name to the internal notes
for this request, or null if no such binding exists. |
public Iterator | getNoteNames() Return an Iterator containing the String names of all notes bindings
that exist for this request. |
public ServletRequest | getRequest() Return the ServletRequest for which this object
is the facade. |
public Response | getResponse() Return the Response with which this Request is associated. |
public Socket | getSocket() Return the Socket (if any) through which this Request was received. |
public InputStream | getStream() Return the input stream associated with this Request. |
public ValveContext | getValveContext() Get valve context. |
public Wrapper | getWrapper() Return the Wrapper within which this Request is being processed. |
public void | recycle() Release all object references, and initialize instance variables, in
preparation for reuse of this object. |
public void | removeNote(String name) Remove any object bound to the specified name in the internal notes
for this request. |
public void | setAuthorization(String authorization) Set the authorization credentials sent with this request. |
public void | setConnector(Connector connector) Set the Connector through which this Request was received. |
public void | setContentLength(int length) Set the content length associated with this Request. |
public void | setContentType(String type) Set the content type (and optionally the character encoding)
associated with this Request. |
public void | setContext(Context context) Set the Context within which this Request is being processed. |
public void | setFilterChain(FilterChain filterChain) Set filter chain associated with the request. |
public void | setHost(Host host) Set the Host within which this Request is being processed. |
public void | setNote(String name, Object value) Bind an object to a specified name in the internal notes associated
with this request, replacing any existing binding for this name. |
public void | setProtocol(String protocol) Set the protocol name and version associated with this Request. |
public void | setRemoteAddr(String remote) Set the remote IP address associated with this Request. |
public void | setResponse(Response response) Set the Response with which this Request is associated. |
public void | setScheme(String scheme) Set the name of the scheme associated with this request. |
public void | setSecure(boolean secure) Set the value to be returned by isSecure()
for this Request. |
public void | setServerName(String name) Set the name of the server (virtual host) to process this request. |
public void | setServerPort(int port) Set the port number of the server to process this request. |
public void | setSocket(Socket socket) Set the Socket (if any) through which this Request was received. |
public void | setStream(InputStream stream) Set the input stream associated with this Request. |
public void | setValveContext(ValveContext valveContext) Set valve context. |
public void | setWrapper(Wrapper wrapper) Set the Wrapper within which this Request is being processed. |