public class MicroblogClient extends Object
Constructor and Description |
---|
MicroblogClient(MicroblogConfigurationDao dao) |
MicroblogClient(org.springframework.core.io.Resource configResource) |
Modifier and Type | Method and Description |
---|---|
MicroblogProfile |
getProfile(String profile) |
twitter4j.Twitter |
getTwitter(String profile) |
boolean |
hasBasicAuth(String profile) |
boolean |
hasOAuth(String profile) |
boolean |
hasOAuthAccessToken(String profile) |
boolean |
isOAuthUsable(String profile) |
static void |
main(String[] args) |
MicroblogAuthorization |
requestAuthorization(String profile) |
public MicroblogClient(MicroblogConfigurationDao dao)
public MicroblogClient(org.springframework.core.io.Resource configResource)
public MicroblogProfile getProfile(String profile)
public boolean isOAuthUsable(String profile)
public boolean hasOAuth(String profile)
public boolean hasOAuthAccessToken(String profile)
public boolean hasBasicAuth(String profile)
public MicroblogAuthorization requestAuthorization(String profile) throws MicroblogAuthorization.MicroblogAuthorizationException
public twitter4j.Twitter getTwitter(String profile)
Copyright © 2021. All rights reserved.