You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-project
Brian Clozel 11d4426b4d Provide client factory with supplier in RestTemplateBuilder
This commit removes
`RestTemplateBuilder.requestFactory(ClientHttpRequestFactory factory)`
because it can be misleading. This builder class is meant to be
immutable, but calling that method and then timeout related ones will
affect the `ClientHttpRequestFactory` instance.

Instead, this method is replaced with a
`Supplier<ClientHttpRequestFactory>` that is called every time a
`RestTemplate` is being built.

That approach may reduce the reusability of request factories, but it is
much more consistent.

Closes gh-11255
7 years ago
..
spring-boot Provide client factory with supplier in RestTemplateBuilder 7 years ago
spring-boot-actuator Polish "Deduplicate tag values in metrics actuator endpoint" 7 years ago
spring-boot-actuator-autoconfigure Update copyright header 7 years ago
spring-boot-autoconfigure Polish "Add support for additional Kafka listener properties" 7 years ago
spring-boot-cli Polish 7 years ago
spring-boot-dependencies Add support for additional Kafka listener properties 7 years ago
spring-boot-devtools Remove redundant throws declarations 7 years ago
spring-boot-docs Polish "Add support for additional Kafka listener properties" 7 years ago
spring-boot-parent Make integration tests self-contained 7 years ago
spring-boot-starters Exclude tomcat-annotations-api and use javax.annotations-api instead 7 years ago
spring-boot-test No-op ResetMocksTestExecutionListener when Mockito is not present 7 years ago
spring-boot-test-autoconfigure Merge branch '1.5.x' 7 years ago
spring-boot-tools Update copyright header 7 years ago
pom.xml Re-order modules so that spring--boot-cli is later 7 years ago