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
    • Constructor Detail

      • TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory

        public TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HtppClientOption[] httpClientOptions)
    • 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 © 2014 Pivotal Software, Inc.. All rights reserved.