facebook4j.internal.http
Class HttpClientImpl

java.lang.Object
  extended by facebook4j.internal.http.HttpClientBase
      extended by facebook4j.internal.http.HttpClientImpl
All Implemented Interfaces:
HttpClient, HttpResponseCode, Serializable

public class HttpClientImpl
extends HttpClientBase
implements HttpClient, HttpResponseCode, Serializable

Since:
Twitter4J 2.1.2
Author:
Yusuke Yamamoto - yusuke at mac.com, Ryuji Yamashita - roundrop at gmail.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface facebook4j.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
 
Constructor Summary
HttpClientImpl()
           
HttpClientImpl(HttpClientConfiguration conf)
           
 
Method Summary
static String encode(String str)
           
 HttpResponse get(String url)
           
static HttpClient getInstance(HttpClientConfiguration conf)
           
 HttpResponse post(String url, HttpParameter[] params)
           
 HttpResponse request(HttpRequest req)
           
 
Methods inherited from class facebook4j.internal.http.HttpClientBase
equals, hashCode, shutdown, toString, write
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface facebook4j.internal.http.HttpClient
shutdown
 

Constructor Detail

HttpClientImpl

public HttpClientImpl()

HttpClientImpl

public HttpClientImpl(HttpClientConfiguration conf)
Method Detail

getInstance

public static HttpClient getInstance(HttpClientConfiguration conf)

get

public HttpResponse get(String url)
                 throws FacebookException
Throws:
FacebookException

post

public HttpResponse post(String url,
                         HttpParameter[] params)
                  throws FacebookException
Throws:
FacebookException

request

public HttpResponse request(HttpRequest req)
                     throws FacebookException
Specified by:
request in interface HttpClient
Throws:
FacebookException

encode

public static String encode(String str)


Copyright © 2014. All Rights Reserved.