public class HttpClientImpl extends twitter4j.internal.http.HttpClientImpl implements twitter4j.internal.http.HttpResponseCode, Serializable
| Modifier and Type | Field and Description |
|---|---|
static boolean |
sPreferHttp2 |
static boolean |
sPreferSpdy |
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(twitter4j.internal.http.HttpClientConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLastRequestProtocol() |
twitter4j.internal.http.HttpResponse |
request(twitter4j.internal.http.HttpRequest req) |
public static boolean sPreferSpdy
public static boolean sPreferHttp2
public HttpClientImpl()
public HttpClientImpl(twitter4j.internal.http.HttpClientConfiguration conf)
public twitter4j.internal.http.HttpResponse request(twitter4j.internal.http.HttpRequest req)
throws twitter4j.TwitterException
request in interface twitter4j.internal.http.HttpClientrequest in class twitter4j.internal.http.HttpClientImpltwitter4j.TwitterExceptionpublic String getLastRequestProtocol()
Copyright © 2014. All Rights Reserved.