Interface AuthMethod

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.http.client.methods.RequestBuilder apply​(org.apache.http.client.methods.RequestBuilder request)  
      org.apache.http.client.methods.RequestBuilder applyAsBasicAuth​(org.apache.http.client.methods.RequestBuilder requestBuilder)
      Apply the authentication to the header as basic authentication.
      org.apache.http.client.methods.RequestBuilder applyAsJsonProperties​(org.apache.http.client.methods.RequestBuilder requestBuilder)
      Apply the authentication by adding it to the entity payload.
      int getSortKey()  
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • apply

        org.apache.http.client.methods.RequestBuilder apply​(org.apache.http.client.methods.RequestBuilder request)
      • applyAsBasicAuth

        org.apache.http.client.methods.RequestBuilder applyAsBasicAuth​(org.apache.http.client.methods.RequestBuilder requestBuilder)
        Apply the authentication to the header as basic authentication.
        Parameters:
        requestBuilder - The request being built
        Returns:
        RequestBuilder for more building of the request.
      • applyAsJsonProperties

        org.apache.http.client.methods.RequestBuilder applyAsJsonProperties​(org.apache.http.client.methods.RequestBuilder requestBuilder)
        Apply the authentication by adding it to the entity payload.
        Parameters:
        requestBuilder - The request being built
        Returns:
        RequestBuilder for more building of the request.