org.alfresco.bm.http
Interface HttpClientProvider

All Known Implementing Classes:
SharedHttpClientProvider

public interface HttpClientProvider

Provides HttpClient instance to be used to perform HTTP-calls.

Author:
Frederik Heremans

Method Summary
 String getFullAlfrescoUrlForPath(String path)
           
 org.apache.commons.httpclient.HttpClient getHttpClient()
           
 

Method Detail

getHttpClient

org.apache.commons.httpclient.HttpClient getHttpClient()
Returns:
the HttpClient instance to use for the next HTTP-call.

getFullAlfrescoUrlForPath

String getFullAlfrescoUrlForPath(String path)
Parameters:
path - relative path of the URL from alfresco host.
Returns:
full URL including hostname and port for the given path.


Copyright © 2012. All Rights Reserved.