Class HttpComponentsClientHttpRequestFactoryBasicAuth

java.lang.Object
org.springframework.http.client.HttpComponentsClientHttpRequestFactory
org.cruk.clarity.api.http.HttpComponentsClientHttpRequestFactoryBasicAuth
All Implemented Interfaces:
AuthenticatingClientHttpRequestFactory, DisposableBean, ClientHttpRequestFactory

public class HttpComponentsClientHttpRequestFactoryBasicAuth extends HttpComponentsClientHttpRequestFactory implements AuthenticatingClientHttpRequestFactory
Client HTTP request factory adding basic authentication to the request.
Since:
2.23.1
See Also:
  • Constructor Details

    • HttpComponentsClientHttpRequestFactoryBasicAuth

      public HttpComponentsClientHttpRequestFactoryBasicAuth()
      Constructor.
    • HttpComponentsClientHttpRequestFactoryBasicAuth

      public HttpComponentsClientHttpRequestFactoryBasicAuth(HttpClient client)
      Constructor with an HTTP client.
      Parameters:
      client - The underlying HTTP client.
    • HttpComponentsClientHttpRequestFactoryBasicAuth

      public HttpComponentsClientHttpRequestFactoryBasicAuth(HttpClient client, CredentialsProvider credentialsProvider)
      Constructor with an HTTP client and credentials provider.
      Parameters:
      client - The underlying HTTP client.
      credentialsProvider - The authentication credentials provider.
  • Method Details