public class RestClient
extends org.apache.commons.httpclient.HttpClient
| Constructor and Description |
|---|
RestClient() |
RestClient(org.apache.commons.httpclient.params.HttpClientParams params) |
RestClient(org.apache.commons.httpclient.params.HttpClientParams params,
org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager) |
RestClient(org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
RestResponse |
execute(org.apache.commons.httpclient.HttpMethod method) |
protected static org.apache.commons.httpclient.protocol.ProtocolSocketFactory |
getDefaultSSLProtocolSocketFactory() |
static RestClient |
of() |
static RestClient |
of(org.apache.commons.httpclient.HttpConnectionManager connectionManager,
int connectTimeoutMillis,
int readTimeoutMillis) |
static RestClient |
of(int connectTimeoutMillis,
int readTimeoutMillis) |
executeMethod, executeMethod, executeMethod, getHost, getHostConfiguration, getHttpConnectionManager, getParams, getPort, getState, isStrictMode, setConnectionTimeout, setHostConfiguration, setHttpConnectionFactoryTimeout, setHttpConnectionManager, setParams, setState, setStrictMode, setTimeoutpublic RestClient()
public RestClient(org.apache.commons.httpclient.params.HttpClientParams params,
org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager)
public RestClient(org.apache.commons.httpclient.params.HttpClientParams params)
public RestClient(org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager)
protected static org.apache.commons.httpclient.protocol.ProtocolSocketFactory getDefaultSSLProtocolSocketFactory()
public RestResponse execute(org.apache.commons.httpclient.HttpMethod method) throws CommonException
CommonExceptionpublic void close()
public static RestClient of(org.apache.commons.httpclient.HttpConnectionManager connectionManager, int connectTimeoutMillis, int readTimeoutMillis)
public static RestClient of(int connectTimeoutMillis, int readTimeoutMillis)
public static RestClient of()
Copyright © 2023. All rights reserved.