com.googlecode.jinahya.twitter.xauth
Class HttpURLConnectionRequester

java.lang.Object
  extended by com.googlecode.jinahya.twitter.xauth.HttpURLConnectionRequester
All Implemented Interfaces:
Requester

public class HttpURLConnectionRequester
extends Object
implements Requester

Author:
Jin Kwon

Constructor Summary
HttpURLConnectionRequester()
           
 
Method Summary
 InputStream request(String method, String url, String parameters, String authorization)
          Requests with given arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpURLConnectionRequester

public HttpURLConnectionRequester()
Method Detail

request

public InputStream request(String method,
                           String url,
                           String parameters,
                           String authorization)
                    throws Exception
Description copied from interface: Requester
Requests with given arguments.

Specified by:
request in interface Requester
Parameters:
method - request method
url - request url
parameters - parameters (already url encoded)
authorization - authorization header value or null.
Returns:
resource stream
Throws:
Exception - if any error occurs


Copyright © 2011. All Rights Reserved.