com.googlecode.jinahya.twitter.xauth
Class HttpConnectionRequester

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

public class HttpConnectionRequester
extends Object
implements Requester

Author:
Jin Kwon

Constructor Summary
HttpConnectionRequester()
           
 
Method Summary
protected  javax.microedition.io.HttpConnection open(String url)
           
 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

HttpConnectionRequester

public HttpConnectionRequester()
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

open

protected javax.microedition.io.HttpConnection open(String url)
                                             throws IOException
Parameters:
url -
Returns:
Throws:
IOException


Copyright © 2011. All Rights Reserved.