com.ning.http.client.oauth
Class RequestToken

java.lang.Object
  extended by com.ning.http.client.oauth.RequestToken

public class RequestToken
extends Object

Value class used for OAuth tokens (request secret, access secret); simple container with two parts, public id part ("key") and confidential ("secret") part.


Constructor Summary
RequestToken(String key, String token)
           
 
Method Summary
 boolean equals(Object o)
           
 String getKey()
           
 String getSecret()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestToken

public RequestToken(String key,
                    String token)
Method Detail

getKey

public String getKey()

getSecret

public String getSecret()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.