Method Summary |
|
public void | addHeader(String name, String value) Add a Header to the set of Headers associated with this Request. |
HttpHeader | allocateHeader() Allocate new header. |
public void | clearHeaders() Clear the collection of Headers associated with this Request. |
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 HttpHeader | getHeader(HttpHeader header) |
public HttpHeader | getHeader(char[] headerName) |
public String | getHeader(String name) |
public Enumeration | getHeaderNames() Return the names of all headers received with this request. |
public Enumeration | getHeaders(String name) Return all of the values of the specified header, if any; otherwise,
return an empty enumeration. |
InetAddress | getInet() [Package Private] Return the InetAddress of the remote client of
this request. |
public String | getInfo() Return descriptive information about this Request implementation and
the corresponding version number, in the format
<description>/<version> . |
public String | getRemoteAddr() Return the Internet Protocol (IP) address of the client that sent
this request. |
public String | getRemoteHost() Return the fully qualified name of the client that sent this request,
or the IP address of the client if the name cannot be determined. |
void | nextHeader() Go to the next header. |
public void | recycle() Release all object references, and initialize instance variables, in
preparation for reuse of this object. |
void | setInet(InetAddress inet) [Package Private] Set the InetAddress of the remote client of
this request. |