public interface HttpClient
Modifier and Type | Method and Description |
---|---|
HttpResponse |
delete(URL url) |
HttpResponse |
get(URL url) |
HttpResponse |
get(URL url,
Headers headers) |
HttpResponse |
options(URL url) |
HttpResponse |
post(URL url,
HttpPost message) |
HttpResponse |
put(URL url,
HttpPut message) |
void |
shutdown() |
HttpResponse get(URL url) throws HttpException
HttpException
HttpResponse get(URL url, Headers headers) throws HttpException
HttpException
HttpResponse post(URL url, HttpPost message) throws HttpException
HttpException
HttpResponse put(URL url, HttpPut message) throws HttpException
HttpException
HttpResponse delete(URL url) throws HttpException
HttpException
HttpResponse options(URL url) throws HttpException
HttpException
void shutdown()
Copyright © 2013. All rights reserved.