Interface TokenExtractor<T extends Token>
- Type Parameters:
T- concrete type of Token
- All Known Implementing Classes:
AbstractOAuth1JSONTokenExtractor,AbstractOAuth1TokenExtractor,OAuth1AccessTokenExtractor,OAuth1AccessTokenJSONExtractor,OAuth1RequestTokenExtractor,OAuth1RequestTokenJSONExtractor,OAuth2AccessTokenExtractor,OAuth2AccessTokenJsonExtractor
public interface TokenExtractor<T extends Token>
Simple command object that extracts a concrete
Token from a String-
Method Summary
-
Method Details
-
extract
Extracts the concrete type of token from the contents of an Http Response- Parameters:
response- the whole response- Returns:
- OAuth access token
- Throws:
java.io.IOException- in case of troubles while getting body from the responseOAuthException
-