com.actimind.actiwate.http
Class GetRequest
java.lang.Object
com.actimind.actiwate.http.HttpRequest
com.actimind.actiwate.http.GetRequest
- All Implemented Interfaces:
- com.actimind.actiwate.log.Loggable
- public class GetRequest
- extends HttpRequest
Implements the HTTP GET method request.
|
Constructor Summary |
GetRequest(java.lang.String url)
Constructs the request with the specified URL. |
|
Method Summary |
org.apache.commons.httpclient.HttpMethod |
createHttpMethod()
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getMethod()
|
void |
toLog(com.actimind.actiwate.log.LogWriter writer)
Renders this object for logging purposes.
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GetRequest
public GetRequest(java.lang.String url)
- Constructs the request with the specified URL.
- Parameters:
url - absolute URL
getMethod
public java.lang.String getMethod()
- Specified by:
getMethod in class HttpRequest
toLog
public void toLog(com.actimind.actiwate.log.LogWriter writer)
- Renders this object for logging purposes.
The object is rendered like this:
GET -> <URI>
equals
public boolean equals(java.lang.Object o)
createHttpMethod
public org.apache.commons.httpclient.HttpMethod createHttpMethod()
- Specified by:
createHttpMethod in class HttpRequest
Copyright © 2007 Actimind, Inc. All Rights Reserved.