public interface HttpClient
Modifier and Type | Method and Description |
---|---|
void |
addDefaultRequestHeader(String name,
String value) |
HttpResponse |
delete(String url) |
HttpResponse |
delete(String url,
HttpParameter[] parameters,
Authorization authorization,
HttpResponseListener listener) |
HttpResponse |
get(String url) |
HttpResponse |
get(String url,
HttpParameter[] parameters,
Authorization authorization,
HttpResponseListener listener) |
Map<String,String> |
getRequestHeaders() |
HttpResponse |
head(String url) |
HttpResponse |
post(String url) |
HttpResponse |
post(String url,
HttpParameter[] parameters,
Authorization authorization,
HttpResponseListener listener) |
HttpResponse |
put(String url) |
HttpResponse |
put(String url,
HttpParameter[] parameters,
Authorization authorization,
HttpResponseListener listener) |
HttpResponse |
request(HttpRequest req) |
HttpResponse |
request(HttpRequest req,
HttpResponseListener listener) |
HttpResponse request(HttpRequest req) throws TwitterException
TwitterException
HttpResponse request(HttpRequest req, HttpResponseListener listener) throws TwitterException
TwitterException
HttpResponse get(String url, HttpParameter[] parameters, Authorization authorization, HttpResponseListener listener) throws TwitterException
TwitterException
HttpResponse get(String url) throws TwitterException
TwitterException
HttpResponse post(String url, HttpParameter[] parameters, Authorization authorization, HttpResponseListener listener) throws TwitterException
TwitterException
HttpResponse post(String url) throws TwitterException
TwitterException
HttpResponse delete(String url, HttpParameter[] parameters, Authorization authorization, HttpResponseListener listener) throws TwitterException
TwitterException
HttpResponse delete(String url) throws TwitterException
TwitterException
HttpResponse head(String url) throws TwitterException
TwitterException
HttpResponse put(String url, HttpParameter[] parameters, Authorization authorization, HttpResponseListener listener) throws TwitterException
TwitterException
HttpResponse put(String url) throws TwitterException
TwitterException
Copyright © 2018. All rights reserved.