org.apache.cactus.client.connector.http
Class HttpUtil

java.lang.Object
  extended byorg.apache.cactus.client.connector.http.HttpUtil

public class HttpUtil
extends java.lang.Object

Utility methods to manipulate HTTP requests.

Since:
1.5
Version:
$Id: HttpUtil.java,v 1.1 2003/06/22 15:25:19 vmassol Exp $
Author:
Vincent Massol

Constructor Summary
HttpUtil()
           
 
Method Summary
static java.net.URL addHttpGetParameters(WebRequest theRequest, java.net.URL theURL)
          Add HTTP GET parameters to the URL passed as parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtil

public HttpUtil()
Method Detail

addHttpGetParameters

public static java.net.URL addHttpGetParameters(WebRequest theRequest,
                                                java.net.URL theURL)
                                         throws java.net.MalformedURLException
Add HTTP GET parameters to the URL passed as parameter.

Parameters:
theRequest - the request containing the HTTP GET parameters to add
theURL - the URL that will be enriched with the HTTP GET parameters
Returns:
the enriched URL
Throws:
java.net.MalformedURLException - if the URL is malformed


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.