|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.oauth.Transport
com.dyuproject.oauth.HttpGetTransport
public final class HttpGetTransport
Sends the oauth request parameters using HTTP GET and appended with queryString
Field Summary | |
---|---|
static HttpGetTransport |
DEFAULT
The default instance. |
Constructor Summary | |
---|---|
HttpGetTransport()
|
Method Summary | |
---|---|
static HttpGetTransport |
getDefault()
Gets the default instance. |
String |
getMethod()
Gets the method name of this transport. |
String |
getName()
Gets the name of this transport. |
void |
handleOAuthParameter(String key,
String value,
StringBuilder buffer)
Handles the encoded oauth key and value . |
HttpConnector.Response |
send(UrlEncodedParameterMap params,
Endpoint ep,
Token token,
TokenExchange exchange,
NonceAndTimestamp nts,
Signature signature,
HttpConnector connector)
Sends the params to the service provided and returns the http response HttpConnector.Response . |
Methods inherited from class com.dyuproject.oauth.Transport |
---|
appendToUrl, buildAuthUrl, buildAuthUrl, get, getAuthUrl, getAuthUrl, handleRequestParameter, putDefaults, register |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final HttpGetTransport DEFAULT
Constructor Detail |
---|
public HttpGetTransport()
Method Detail |
---|
public static HttpGetTransport getDefault()
public String getName()
Transport
getName
in class Transport
public String getMethod()
Transport
getMethod
in class Transport
public void handleOAuthParameter(String key, String value, StringBuilder buffer)
Signature.Listener
key
and value
.
public HttpConnector.Response send(UrlEncodedParameterMap params, Endpoint ep, Token token, TokenExchange exchange, NonceAndTimestamp nts, Signature signature, HttpConnector connector) throws IOException
Transport
HttpConnector.Response
.
send
in class Transport
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |