|
void | init () |
|
HttpClient | getHttpsClientTrustAll () |
|
HttpClient | getHttpsClient () |
|
HttpClient | getHttpsClient (String trustStoreType, String trustStorePath, String trustStorePassword) |
|
HttpClient | getHttpsClient (String trustStoreType, String trustStorePath, String trustStorePassword, String keyStoreType, String keyStorePath, String keyStorePassword) |
|
HttpServiceResponse | executePost (HttpClient httpClient, String uri, String authData, Map< String, String > headers, String postData, ContentType contentType) |
|
HttpServiceResponse | executePost (HttpClient httpClient, String uri, String authData, Map< String, String > headers, String postData) |
|
HttpServiceResponse | executePost (HttpClient httpClient, String uri, String authData, String postData, ContentType contentType) |
|
String | encodeBase64 (String value) |
|
String | encodeUrl (String value) |
|
HttpServiceResponse | executeGet (HttpClient httpClient, String requestUri, Map< String, String > headers) |
|
HttpServiceResponse | executeGet (HttpClient httpClient, String requestUri) throws ClientProtocolException, IOException |
|
byte [] | getResponseContent (HttpResponse httpResponse) throws IOException |
|
void | consume (HttpResponse httpResponse) throws IOException |
|
String | convertEntityToString (byte[] responseBytes) |
|
String | convertEntityToString (byte[] responseBytes, Charset charset) |
|
String | convertEntityToString (byte[] responseBytes, String charsetName) throws UnsupportedEncodingException |
|
boolean | isResponseStastusCodeOk (HttpResponse httpResponse) |
|
boolean | isContentTypeXml (HttpResponse httpResponse) |
|
String | constructServerUrl (final HttpServletRequest request) |
|
Provides operations with http requests
- 著者
- Yuriy Movchan Date: 02/05/2013