org.jboss.mq.il.http
Class HTTPClient

java.lang.Object
  extended byorg.jboss.mq.il.http.HTTPClient

public class HTTPClient
extends java.lang.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.


Constructor Summary
HTTPClient()
           
 
Method Summary
static java.lang.Object post(java.net.URL url, HTTPILRequest (src)  request)
           
static java.net.URL resolveServerUrl(java.lang.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 java.lang.Object post(java.net.URL url,
                                    HTTPILRequest (src)  request)
                             throws java.lang.Exception
Throws:
java.lang.Exception

resolveServerUrl

public static java.net.URL resolveServerUrl(java.lang.String url)
                                     throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException