| Package | Description |
|---|---|
| com.att.nsa.apiClient.http |
| Modifier and Type | Method and Description |
|---|---|
static CacheUse |
CacheUse.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheUse[] |
CacheUse.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
HttpClient.get(String path,
CacheUse cu)
Get an object from the cluster using the caching strategy provided.
|
void |
HttpClient.patch(String path,
org.json.JSONObject obj,
CacheUse cu) |
void |
HttpClient.put(String path,
org.json.JSONObject obj,
CacheUse cu) |
| Constructor and Description |
|---|
HttpClient(HttpClient.ConnectionType ct,
Collection<String> cluster,
int stdSvcPort,
String clientSignature,
CacheUse defCacheUse,
int maxObjCacheSize,
long maxObjCacheTime,
TimeUnit maxObjCacheTimeUnit)
Construct an HTTP client for the given cluster with a standard service port to use
when the hosts don't specify a port.
|
HttpClient(HttpClient.ConnectionType ct,
Collection<String> cluster,
int stdSvcPort,
String clientSignature,
CacheUse defCacheUse,
int maxObjCacheSize,
long maxObjCacheTime,
TimeUnit maxObjCacheTimeUnit,
int maxPoolSize,
int maxPoolPerRoute,
int soTimeoutMs)
Construct an HTTP client for the given cluster with a standard service port to use
when the hosts don't specify a port.
|
Copyright © 2018. All rights reserved.