public class HttpClientImpl extends HttpClientBase implements HttpResponseCode, Serializable
BAD_GATEWAY, BAD_REQUEST, ENHANCE_YOUR_CLAIM, FORBIDDEN, FOUND, GATEWAY_TIMEOUT, INTERNAL_SERVER_ERROR, MULTIPLE_CHOICES, NOT_ACCEPTABLE, NOT_FOUND, NOT_MODIFIED, OK, SERVICE_UNAVAILABLE, TOO_MANY_REQUESTS, UNAUTHORIZED, UNPROCESSABLE_ENTITY| Constructor and Description |
|---|
HttpClientImpl() |
HttpClientImpl(HttpClientConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
get(String url) |
static HttpClient |
getInstance(HttpClientConfiguration conf) |
HttpResponse |
post(String url,
HttpParameter[] params) |
HttpResponse |
request(HttpRequest req) |
public HttpClientImpl()
public HttpClientImpl(HttpClientConfiguration conf)
public static HttpClient getInstance(HttpClientConfiguration conf)
public HttpResponse get(String url) throws TwitterException
TwitterExceptionpublic HttpResponse post(String url, HttpParameter[] params) throws TwitterException
TwitterExceptionpublic HttpResponse request(HttpRequest req) throws TwitterException
request in interface HttpClientTwitterExceptionCopyright © 2013. All Rights Reserved.