org.springframework.integration.twitter.oauth
Class OAuthConfiguration
java.lang.Object
org.springframework.integration.twitter.oauth.OAuthConfiguration
public class OAuthConfiguration
- extends Object
Simple bean we can use to store the configuration and store shared references to both an AsyncTwitter
and an Twitter
instance.
client should store this bean and simply lookup the Twitter configuration from there
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthConfiguration
public OAuthConfiguration(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret)
getTwitter
public twitter4j.Twitter getTwitter()
- Returns:
getConsumerKey
public String getConsumerKey()
setConsumerKey
public void setConsumerKey(String consumerKey)
getConsumerSecret
public String getConsumerSecret()
setConsumerSecret
public void setConsumerSecret(String consumerSecret)
getAccessToken
public String getAccessToken()
setAccessToken
public void setAccessToken(String accessToken)
getAccessTokenSecret
public String getAccessTokenSecret()
setAccessTokenSecret
public void setAccessTokenSecret(String accessTokenSecret)
Copyright © 2010. All Rights Reserved.