org.alfresco.http
Interface HttpClientProvider
- All Known Implementing Classes:
- SharedHttpClientProvider
public interface HttpClientProvider
Provides HttpClient instance to be used to perform HTTP-calls.
- Author:
- Frederik Heremans, Michael Suzuki
|
Method Summary |
org.apache.http.client.HttpClient |
getHttpClient()
|
org.apache.http.client.HttpClient |
getHttpClient(String username,
String password)
Get a new client using basic authentication |
getHttpClient
org.apache.http.client.HttpClient getHttpClient()
- Returns:
- the
HttpClient instance to use for the next HTTP call.
getHttpClient
org.apache.http.client.HttpClient getHttpClient(String username,
String password)
- Get a new client using basic authentication
- Parameters:
username - the usernamepassword - the password for the user
- Returns:
- the
HttpClient instance to use for the next HTTP call.
Copyright © 2012. All Rights Reserved.