org.ektorp.http
Class StdHttpClient
java.lang.Object
org.ektorp.http.StdHttpClient
- All Implemented Interfaces:
- HttpClient
public class StdHttpClient
- extends Object
- implements HttpClient
- Author:
- henrik lundgren
Constructor Summary |
StdHttpClient(org.apache.http.client.HttpClient hc)
|
StdHttpClient(org.apache.http.client.HttpClient hc,
org.apache.http.client.HttpClient backend)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdHttpClient
public StdHttpClient(org.apache.http.client.HttpClient hc)
StdHttpClient
public StdHttpClient(org.apache.http.client.HttpClient hc,
org.apache.http.client.HttpClient backend)
delete
public HttpResponse delete(String uri)
- Specified by:
delete
in interface HttpClient
get
public HttpResponse get(String uri)
- Specified by:
get
in interface HttpClient
getUncached
public HttpResponse getUncached(String uri)
- Specified by:
getUncached
in interface HttpClient
postUncached
public HttpResponse postUncached(String uri,
String content)
- Specified by:
postUncached
in interface HttpClient
post
public HttpResponse post(String uri,
String content)
- Specified by:
post
in interface HttpClient
post
public HttpResponse post(String uri,
InputStream content)
- Specified by:
post
in interface HttpClient
put
public HttpResponse put(String uri,
String content)
- Specified by:
put
in interface HttpClient
put
public HttpResponse put(String uri)
- Specified by:
put
in interface HttpClient
put
public HttpResponse put(String uri,
InputStream data,
String contentType,
long contentLength)
- Specified by:
put
in interface HttpClient
head
public HttpResponse head(String uri)
- Specified by:
head
in interface HttpClient
shutdown
public void shutdown()
- Specified by:
shutdown
in interface HttpClient
Copyright © 2011. All Rights Reserved.