public class WebServiceClient
extends java.lang.Object
| Constructor | Description |
|---|---|
WebServiceClient() |
| Modifier and Type | Method | Description |
|---|---|---|
com.sun.jersey.api.client.Client |
createClient() |
Create a client based on http conf.
|
static void |
destroy() |
|
protected com.sun.jersey.client.urlconnection.HttpURLConnectionFactory |
getHttpURLConnectionFactory() |
|
static WebServiceClient |
getWebServiceClient() |
|
static void |
initialize(org.apache.hadoop.conf.Configuration conf) |
Construct a new WebServiceClient based on the configuration.
|
public static void initialize(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
conf - configuration.java.lang.Exception - exception occur.public static WebServiceClient getWebServiceClient()
public com.sun.jersey.api.client.Client createClient()
@VisibleForTesting protected com.sun.jersey.client.urlconnection.HttpURLConnectionFactory getHttpURLConnectionFactory()
public static void destroy()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.