站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

HTTPClient (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq.il.http
Class HTTPClient

java.lang.Object
  extended byorg.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: 1.3 $
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.