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

java.lang.Object
  extended by org.apache.cactus.internal.client.connector.http.HttpUtil

public class HttpUtil
extends java.lang.Object

Utility methods to manipulate HTTP requests.

Since:
1.5
Version:
$Id: HttpUtil.java 238991 2004-05-22 11:34:50Z vmassol $

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 © 2001-2009 The Apache Software Foundation. All Rights Reserved.