public class ClientUtils extends Object
| Constructor and Description |
|---|
ClientUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.sun.jersey.api.client.Client |
buildClient()
Builds a client component for interacting with HTTP endpoints.
|
static com.sun.jersey.api.client.Client |
buildClientWithProxy(String proxyHost,
int proxyPort)
Constructs a client component that uses a specified web proxy.
|
public static com.sun.jersey.api.client.Client buildClient()
public static com.sun.jersey.api.client.Client buildClientWithProxy(String proxyHost, int proxyPort)
proxyHost - The host name or IP address of the proxy server.proxyPort - The port number of the proxy listener.Copyright © 2015 Open Geospatial Consortium. All rights reserved.