org.ektorp.http
Class StdHttpClient
java.lang.Object
org.ektorp.http.StdHttpClient
- All Implemented Interfaces:
- HttpClient
public class StdHttpClient
- extends java.lang.Object
- implements HttpClient
- Author:
- henrik lundgren
|
Constructor Summary |
StdHttpClient(org.apache.http.client.HttpClient hc)
|
| 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)
delete
public HttpResponse delete(java.lang.String uri)
- Specified by:
delete in interface HttpClient
get
public HttpResponse get(java.lang.String uri)
- Specified by:
get in interface HttpClient
post
public HttpResponse post(java.lang.String uri,
java.lang.String content)
- Specified by:
post in interface HttpClient
post
public HttpResponse post(java.lang.String uri,
java.io.InputStream content)
- Specified by:
post in interface HttpClient
put
public HttpResponse put(java.lang.String uri,
java.lang.String content)
- Specified by:
put in interface HttpClient
put
public HttpResponse put(java.lang.String uri)
- Specified by:
put in interface HttpClient
put
public HttpResponse put(java.lang.String uri,
java.io.InputStream data,
java.lang.String contentType,
long contentLength)
- Specified by:
put in interface HttpClient
head
public HttpResponse head(java.lang.String uri)
- Specified by:
head in interface HttpClient
Copyright © 2011. All Rights Reserved.