Class PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory

java.lang.Object
org.springframework.http.client.HttpComponentsClientHttpRequestFactory
org.springframework.cloud.dataflow.rest.util.PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory
All Implemented Interfaces:
DisposableBean, ClientHttpRequestFactory

public class PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory extends HttpComponentsClientHttpRequestFactory
HttpComponentsClientHttpRequestFactory extension that aggressively sends HTTP basic authentication credentials without having to first receive an HTTP 401 response from the server.
Author:
Gunnar Hillert, Mike Heath
  • Constructor Details

    • PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory

      public PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory(org.apache.hc.client5.http.classic.HttpClient httpClient, org.apache.hc.core5.http.HttpHost host)
  • Method Details