version 1.0

com.actimind.actiwate.http
Class GetRequest

java.lang.Object
  extended bycom.actimind.actiwate.http.HttpRequest
      extended bycom.actimind.actiwate.http.GetRequest
All Implemented Interfaces:
com.actimind.actiwate.log.Loggable

public class GetRequest
extends HttpRequest

Implements the HTTP GET method request.


Field Summary
 
Fields inherited from class com.actimind.actiwate.http.HttpRequest
GET_METHOD, POST_METHOD
 
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 com.actimind.actiwate.http.HttpRequest
addHeaders, getRequestHeaders, getURL, setRequestHeader, setRequestHeaderIfNotSet, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetRequest

public GetRequest(java.lang.String url)
Constructs the request with the specified URL.

Parameters:
url - absolute URL
Method Detail

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.