org.jboss.mq.il.http
Class HTTPClient

java.lang.Object
  extended by org.jboss.mq.il.http.HTTPClient

public class HTTPClient
extends Object

Utility class that provides HTTP functionality. This class is modeled after Scott's Util class in org.jboss.invocation.http.interfaces.Util, however, that class deals with Invocation object, while this handles HTTPILRequest objects. Other then that, it is a pretty close reproduction.

Version:
$Revision: 57198 $
Author:
Nathan Phelps (nathan@jboss.org)

Constructor Summary
HTTPClient()
           
 
Method Summary
static Object post(URL url, HTTPILRequest request)
           
static URL resolveServerUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPClient

public HTTPClient()
Method Detail

post

public static Object post(URL url,
                          HTTPILRequest request)
                   throws Exception
Throws:
Exception

resolveServerUrl

public static URL resolveServerUrl(String url)
                            throws MalformedURLException
Throws:
MalformedURLException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.