Interface AuthenticationHandler


public interface AuthenticationHandler
Interface for classes which authenticate the requests. The configure method is invoked during each request. For instance, the implementation of this handling which would configure the request to do a basic http authentication would have a following implementation.

public void configure(final Request request) { request.setHeader("Authorization", "Basic " + base64EncodedCredentials()); }

Since:
v0.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(com.atlassian.httpclient.api.Request.Builder builder)
     
  • Method Details

    • configure

      void configure(com.atlassian.httpclient.api.Request.Builder builder)