Class HeaderExtractorImpl

java.lang.Object
com.github.scribejava.core.extractors.HeaderExtractorImpl
All Implemented Interfaces:
HeaderExtractor

public class HeaderExtractorImpl
extends java.lang.Object
implements HeaderExtractor
Default implementation of HeaderExtractor. Conforms to OAuth 1.0a
  • Constructor Summary

    Constructors
    Constructor Description
    HeaderExtractorImpl()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String extract​(OAuthRequest request)
    Generates an OAuth 'Authorization' Http header to include in requests as the signature.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HeaderExtractorImpl

      public HeaderExtractorImpl()
  • Method Details

    • 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 interface HeaderExtractor
      Parameters:
      request - the AbstractRequest to inspect and generate the header
      Returns:
      the Http header value