org.springframework.boot.test

Class TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory

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


    protected static class TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
    extends org.springframework.http.client.HttpComponentsClientHttpRequestFactory
    HttpComponentsClientHttpRequestFactory to apply customizations.
    • Method Detail

      • createHttpContext

        protected org.apache.http.protocol.HttpContext createHttpContext(org.springframework.http.HttpMethod httpMethod,
                                                                         URI uri)
        Overrides:
        createHttpContext in class org.springframework.http.client.HttpComponentsClientHttpRequestFactory
      • getRequestConfig

        protected org.apache.http.client.config.RequestConfig getRequestConfig()

Copyright © 2016 Pivotal Software, Inc.. All rights reserved.