twitter4j.internal.http
Class HttpClientImpl
java.lang.Object
twitter4j.internal.http.HttpClientImpl
- All Implemented Interfaces:
- java.io.Serializable, HttpClient, HttpResponseCode
public class HttpClientImpl
- extends java.lang.Object
- implements HttpClient, HttpResponseCode, java.io.Serializable
- Since:
- Twitter4J 2.1.2
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
- Serialized Form
| Fields inherited from interface twitter4j.internal.http.HttpResponseCode |
BAD_GATEWAY, BAD_REQUEST, ENHANCE_YOUR_CLAIM, FORBIDDEN, FOUND, INTERNAL_SERVER_ERROR, MULTIPLE_CHOICES, NOT_ACCEPTABLE, NOT_FOUND, NOT_MODIFIED, OK, SERVICE_UNAVAILABLE, TOO_LONG, UNAUTHORIZED |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HttpClientImpl
public HttpClientImpl()
HttpClientImpl
public HttpClientImpl(HttpClientConfiguration conf)
shutdown
public void shutdown()
- Specified by:
shutdown in interface HttpClient
getInstance
public static HttpClient getInstance(HttpClientConfiguration conf)
get
public HttpResponse get(java.lang.String url)
throws TwitterException
- Throws:
TwitterException
post
public HttpResponse post(java.lang.String url,
HttpParameter[] params)
throws TwitterException
- Throws:
TwitterException
request
public HttpResponse request(HttpRequest req)
throws TwitterException
- Specified by:
request in interface HttpClient
- Throws:
TwitterException
encode
public static java.lang.String encode(java.lang.String str)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.