|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface that represents the parsed request as passed to an
Adapter adapter for processing. It exposes the significant parsed
request properties (method, URI, protocol, headers, and body), as well a
stream for writing the response.
| Method Summary | |
int |
getContentLength()
Retrieves the length of the request body. |
java.lang.String |
getHeader(java.lang.String name)
Retrieves the value of the specified request header. |
java.util.Iterator |
getHeaderNames()
Retrieves an iterator that returns all header names in the request |
java.lang.String |
getMethod()
Retrieves the request method. |
java.lang.String |
getProtocol()
Retrieves the request protocol. |
java.io.InputStream |
getRequestBodyInputStream()
Retrieves an input stream suitable for reading the request body. |
java.io.OutputStream |
getResponseOutputStream()
Retrieves the output stream to which the response should be written. |
java.lang.String |
getURI()
Retrieves the request URI. |
| Method Detail |
public int getContentLength()
public java.lang.String getHeader(java.lang.String name)
public java.util.Iterator getHeaderNames()
public java.lang.String getMethod()
public java.lang.String getProtocol()
public java.lang.String getURI()
public java.io.InputStream getRequestBodyInputStream()
public java.io.OutputStream getResponseOutputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||