Class BaseStringExtractorImpl
java.lang.Object
com.github.scribejava.core.extractors.BaseStringExtractorImpl
- All Implemented Interfaces:
BaseStringExtractor
Default implementation of
BaseStringExtractor. Conforms to OAuth 1.0a
https://tools.ietf.org/html/rfc5849#section-3.4.1.1-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckPreconditions(OAuthRequest request) extract(OAuthRequest request) Extracts an url-encoded base string from theOAuthRequest.protected StringgetSortedAndEncodedParams(OAuthRequest request) protected StringgetUrl(OAuthRequest request) https://tools.ietf.org/html/rfc5849#section-3.4.1.2protected StringgetVerb(OAuthRequest request)
-
Field Details
-
AMPERSAND_SEPARATED_STRING
- See Also:
-
-
Constructor Details
-
BaseStringExtractorImpl
public BaseStringExtractorImpl()
-
-
Method Details
-
extract
Extracts an url-encoded base string from theOAuthRequest. See the oauth spec for more info on this.- Specified by:
extractin interfaceBaseStringExtractor- Parameters:
request- the OAuthRequest- Returns:
- the url-encoded base string
-
getVerb
-
getUrl
https://tools.ietf.org/html/rfc5849#section-3.4.1.2- Parameters:
request- request- Returns:
- url
-
getSortedAndEncodedParams
-
checkPreconditions
-