T - concrete type of Tokenpublic interface TokenExtractor<T extends Token>
Token from a String| Modifier and Type | Method and Description |
|---|---|
T |
extract(Response response)
Extracts the concrete type of token from the contents of an Http Response
|
T extract(Response response) throws IOException, OAuthException
response - the whole responseIOException - in case of troubles while getting body from the responseOAuthExceptionCopyright © 2016. All rights reserved.