create() — spring-boot Function Reference
Architecture documentation for the create() function in RemoteHttpClientTransport.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b7da7e35_3e2b_f243_05f4_01d0d01e3dda["create()"] f4cdefea_e795_6dee_a6bc_6a10171f5fa8["createIfPossible()"] f4cdefea_e795_6dee_a6bc_6a10171f5fa8 -->|calls| b7da7e35_3e2b_f243_05f4_01d0d01e3dda 8108d30c_70ca_8dc1_46d3_c11198dd13c9["isSecure()"] b7da7e35_3e2b_f243_05f4_01d0d01e3dda -->|calls| 8108d30c_70ca_8dc1_46d3_c11198dd13c9 b09d348c_c0fa_aa08_2f38_cccd4e5372b7["getTlsSocketStrategy()"] b7da7e35_3e2b_f243_05f4_01d0d01e3dda -->|calls| b09d348c_c0fa_aa08_2f38_cccd4e5372b7 c5bd9630_2915_7bc6_0ff4_baa02b36eaa5["RemoteHttpClientTransport()"] b7da7e35_3e2b_f243_05f4_01d0d01e3dda -->|calls| c5bd9630_2915_7bc6_0ff4_baa02b36eaa5 style b7da7e35_3e2b_f243_05f4_01d0d01e3dda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/RemoteHttpClientTransport.java lines 72–86
private static RemoteHttpClientTransport create(DockerHost host, SslContextFactory sslContextFactory,
HttpHost tcpHost) {
SocketConfig socketConfig = SocketConfig.copy(SocketConfig.DEFAULT).setSoTimeout(SOCKET_TIMEOUT).build();
PoolingHttpClientConnectionManagerBuilder connectionManagerBuilder = PoolingHttpClientConnectionManagerBuilder
.create()
.setDefaultSocketConfig(socketConfig);
if (host.isSecure()) {
connectionManagerBuilder.setTlsSocketStrategy(getTlsSocketStrategy(host, sslContextFactory));
}
HttpClientBuilder builder = HttpClients.custom();
builder.setConnectionManager(connectionManagerBuilder.build());
String scheme = host.isSecure() ? "https" : "http";
HttpHost httpHost = new HttpHost(scheme, tcpHost.getHostName(), tcpHost.getPort());
return new RemoteHttpClientTransport(builder.build(), httpHost);
}
Domain
Subdomains
Calls
- RemoteHttpClientTransport()
- getTlsSocketStrategy()
- isSecure()
Called By
Source
Frequently Asked Questions
What does create() do?
create() is a function in the spring-boot codebase.
What does create() call?
create() calls 3 function(s): RemoteHttpClientTransport, getTlsSocketStrategy, isSecure.
What calls create()?
create() is called by 1 function(s): createIfPossible.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free