Package org.somda.sdc.dpws.http.apache
Class ApacheHttpClient
- java.lang.Object
-
- org.somda.sdc.dpws.http.apache.ApacheHttpClient
-
- All Implemented Interfaces:
HttpClient
public class ApacheHttpClient extends Object implements HttpClient
HTTP client implementation using a configured apache http client as backend.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponsesendGet(String url)Sends a HTTP GET request to a specified url.
-
-
-
Method Detail
-
sendGet
public HttpResponse sendGet(String url) throws TransportException
Description copied from interface:HttpClientSends a HTTP GET request to a specified url.- Specified by:
sendGetin interfaceHttpClient- Parameters:
url- to send request to- Returns:
- response body
- Throws:
TransportException- on transport related issues, such as connection refused
-
-