public abstract class AbstractOAuth1JSONTokenExtractor<T extends OAuth1Token> extends Object implements TokenExtractor<T>
| Constructor and Description |
|---|
AbstractOAuth1JSONTokenExtractor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
createToken(String token,
String secret,
String response) |
T |
extract(Response response)
Extracts the concrete type of token from the contents of an Http Response
|
public T extract(Response response) throws IOException
TokenExtractorextract in interface TokenExtractor<T extends OAuth1Token>response - the whole responseIOException - in case of troubles while getting body from the responseCopyright © 2018. All rights reserved.