Class AbstractAuthMethod

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.http.client.methods.RequestBuilder applyAsBasicAuth​(org.apache.http.client.methods.RequestBuilder request)
      Apply the authentication to the header as basic authentication.
      org.apache.http.client.methods.RequestBuilder applyAsJsonProperties​(org.apache.http.client.methods.RequestBuilder request)
      Apply the authentication by adding it to the entity payload.
      int compareTo​(AuthMethod other)  
      abstract int getSortKey()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • applyAsBasicAuth

        public org.apache.http.client.methods.RequestBuilder applyAsBasicAuth​(org.apache.http.client.methods.RequestBuilder request)
        Description copied from interface: AuthMethod
        Apply the authentication to the header as basic authentication.
        Specified by:
        applyAsBasicAuth in interface AuthMethod
        Parameters:
        request - The request being built
        Returns:
        RequestBuilder for more building of the request.
      • applyAsJsonProperties

        public org.apache.http.client.methods.RequestBuilder applyAsJsonProperties​(org.apache.http.client.methods.RequestBuilder request)
        Description copied from interface: AuthMethod
        Apply the authentication by adding it to the entity payload.
        Specified by:
        applyAsJsonProperties in interface AuthMethod
        Parameters:
        request - The request being built
        Returns:
        RequestBuilder for more building of the request.