Package org.scribe.extractors
Class HeaderExtractorImpl
- java.lang.Object
-
- org.scribe.extractors.HeaderExtractorImpl
-
- All Implemented Interfaces:
HeaderExtractor
public class HeaderExtractorImpl extends java.lang.Object implements HeaderExtractor
Default implementation ofHeaderExtractor
. Conforms to OAuth 1.0a
-
-
Field Summary
Fields Modifier and Type Field Description static int
ESTIMATED_PARAM_LENGTH
-
Constructor Summary
Constructors Constructor Description HeaderExtractorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
extract(OAuthRequest request)
Generates an OAuth 'Authorization' Http header to include in requests as the signature.
-
-
-
Field Detail
-
ESTIMATED_PARAM_LENGTH
public static final int ESTIMATED_PARAM_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
extract
public java.lang.String extract(OAuthRequest request)
Generates an OAuth 'Authorization' Http header to include in requests as the signature.- Specified by:
extract
in interfaceHeaderExtractor
- Parameters:
request
- the OAuthRequest to inspect and generate the header- Returns:
- the Http header value
-
-