|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encapsulates a HTTP request. Note that a URL is basically of the format
protocol://[auth:]host/path[?query]
Method Summary | |
void |
changePath(java.lang.String path)
Override the current path. |
java.lang.String |
getMethod()
Gets the request method, such as GET, POST, or PUT. |
java.lang.String |
getOriginalPath()
Gets the original request path, such as /dir/file.html. |
java.lang.String |
getPath()
Gets the request path, such as /dir/file.html. |
java.lang.String |
getQueryString()
Gets the request query string, such as name=val&name=val |
java.lang.String |
getVersion()
Gets the request HTTP version, such as HTTP/1.1 |
Methods inherited from interface juju.reattore.protocol.http.HttpMessage |
getBody, getHeader, getHeaders, getNumHeaders |
Method Detail |
public java.lang.String getMethod()
public java.lang.String getPath()
public java.lang.String getOriginalPath()
public java.lang.String getQueryString()
public java.lang.String getVersion()
public void changePath(java.lang.String path)
path
- The new path to use. Does not change the
original.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |