public interface HttpClient
Modifier and Type | Method and Description |
---|---|
HttpResponse |
copy(String sourceUri,
String destination) |
HttpResponse |
delete(String uri) |
HttpResponse |
get(String uri) |
HttpResponse |
get(String uri,
Map<String,String> headers) |
HttpResponse |
getUncached(String uri) |
HttpResponse |
head(String uri) |
HttpResponse |
post(String uri,
InputStream content) |
HttpResponse |
post(String uri,
String content) |
HttpResponse |
postUncached(String uri,
String content) |
HttpResponse |
put(String uri) |
HttpResponse |
put(String uri,
InputStream data,
String contentType,
long contentLength) |
HttpResponse |
put(String uri,
String content) |
void |
shutdown() |
HttpResponse get(String uri)
HttpResponse get(String uri, Map<String,String> headers)
HttpResponse put(String uri, String content)
HttpResponse put(String uri)
HttpResponse put(String uri, InputStream data, String contentType, long contentLength)
HttpResponse post(String uri, String content)
HttpResponse post(String uri, InputStream content)
HttpResponse delete(String uri)
HttpResponse head(String uri)
HttpResponse getUncached(String uri)
HttpResponse postUncached(String uri, String content)
HttpResponse copy(String sourceUri, String destination)
void shutdown()
Copyright © 2013. All Rights Reserved.