Class AuthConfig.OAuthSigner.OAuthRequestAdapter

  • All Implemented Interfaces:
    oauth.signpost.http.HttpRequest
    Enclosing class:
    AuthConfig.OAuthSigner

    static class AuthConfig.OAuthSigner.OAuthRequestAdapter
    extends java.lang.Object
    implements oauth.signpost.http.HttpRequest
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.apache.http.HttpRequest request  
      (package private) java.net.URI requestURI  
    • Constructor Summary

      Constructors 
      Constructor Description
      OAuthRequestAdapter​(org.apache.http.HttpRequest request, java.net.URI requestURI)  
    • Field Detail

      • request

        final org.apache.http.HttpRequest request
      • requestURI

        final java.net.URI requestURI
    • Constructor Detail

      • OAuthRequestAdapter

        OAuthRequestAdapter​(org.apache.http.HttpRequest request,
                            java.net.URI requestURI)
    • Method Detail

      • getRequestUrl

        public java.lang.String getRequestUrl()
        Specified by:
        getRequestUrl in interface oauth.signpost.http.HttpRequest
      • setRequestUrl

        public void setRequestUrl​(java.lang.String url)
        Specified by:
        setRequestUrl in interface oauth.signpost.http.HttpRequest
      • getAllHeaders

        public java.util.Map<java.lang.String,​java.lang.String> getAllHeaders()
        Specified by:
        getAllHeaders in interface oauth.signpost.http.HttpRequest
      • getContentType

        public java.lang.String getContentType()
        Specified by:
        getContentType in interface oauth.signpost.http.HttpRequest
      • getHeader

        public java.lang.String getHeader​(java.lang.String name)
        Specified by:
        getHeader in interface oauth.signpost.http.HttpRequest
      • getMessagePayload

        public java.io.InputStream getMessagePayload()
                                              throws java.io.IOException
        Specified by:
        getMessagePayload in interface oauth.signpost.http.HttpRequest
        Throws:
        java.io.IOException
      • getMethod

        public java.lang.String getMethod()
        Specified by:
        getMethod in interface oauth.signpost.http.HttpRequest
      • setHeader

        public void setHeader​(java.lang.String key,
                              java.lang.String val)
        Specified by:
        setHeader in interface oauth.signpost.http.HttpRequest
      • unwrap

        public java.lang.Object unwrap()
        Specified by:
        unwrap in interface oauth.signpost.http.HttpRequest