Class TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory

java.lang.Object
org.springframework.http.client.HttpComponentsClientHttpRequestFactory
org.springframework.boot.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.http.client.ClientHttpRequestFactory
Enclosing class:
TestRestTemplate

@Deprecated(since="3.5.0", forRemoval=true) protected static class TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory extends org.springframework.http.client.HttpComponentsClientHttpRequestFactory
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.5.0 for removal in 4.0.0
HttpComponentsClientHttpRequestFactory to apply customizations.
  • Constructor Details

  • Method Details

    • createHttpContext

      protected org.apache.hc.core5.http.protocol.HttpContext createHttpContext(org.springframework.http.HttpMethod httpMethod, URI uri)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      createHttpContext in class org.springframework.http.client.HttpComponentsClientHttpRequestFactory
    • createRequestConfig

      protected org.apache.hc.client5.http.config.RequestConfig createRequestConfig()
      Deprecated, for removal: This API element is subject to removal in a future version.