public class HttpUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SCHEME_NAME |
Constructor and Description |
---|
HttpUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.client.config.RequestConfig |
setTimeouts(MultipartRestClient rc,
int milliseconds)
Sets the CONNECTION_TIMEOUT and SO_TIMEOUT values for the request.
|
static void |
setupSSL(org.apache.http.client.HttpClient httpClient,
Session session)
Setup SSL for the given HttpClient's ConnectionManager.
|
public static final String SCHEME_NAME
public static void setupSSL(org.apache.http.client.HttpClient httpClient, Session session)
session
- public static org.apache.http.client.config.RequestConfig setTimeouts(MultipartRestClient rc, int milliseconds)
restClient
- - the MultipartRestClient implementationmilliseconds
- Copyright © 2014. All Rights Reserved.