|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.http.HttpClientFactory
public abstract class HttpClientFactory
HttpClient
factory class.
Field Summary | |
---|---|
static java.lang.String |
HTTP_CLIENT_PROPERTY
http-client-property. |
static java.lang.String |
TARGET_HOST_URL
Target host url. |
Constructor Summary | |
---|---|
HttpClientFactory()
|
Method Summary | |
---|---|
static org.apache.commons.httpclient.HttpClient |
createHttpClient(java.util.Properties properties)
Factory method for creating the HttpClient
instance. |
static void |
shutdown(org.apache.commons.httpclient.HttpClient httpclient)
Shutdown http client and associated connections. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TARGET_HOST_URL
public static final java.lang.String HTTP_CLIENT_PROPERTY
Constructor Detail |
---|
public HttpClientFactory()
Method Detail |
---|
public static org.apache.commons.httpclient.HttpClient createHttpClient(java.util.Properties properties) throws ConfigurationException
HttpClient
instance.
properties
- HttpClient
creation properties.
HttpClient
instance.
ConfigurationException
- Invalid configuration properties set.public static void shutdown(org.apache.commons.httpclient.HttpClient httpclient)
httpclient
- The http client
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |