Home / Function/ hostOf() — spring-boot Function Reference

hostOf() — spring-boot Function Reference

Architecture documentation for the hostOf() function in RemoteHttpClientTransportTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c3cd35fe_b807_96df_c63a_744fa5f0ced2["hostOf()"]
  4abf670f_cb64_ade6_88e9_da5c875364c2["createIfPossibleWhenNoTlsVerifyUsesHttp()"]
  4abf670f_cb64_ade6_88e9_da5c875364c2 -->|calls| c3cd35fe_b807_96df_c63a_744fa5f0ced2
  781aab54_e630_1aac_e233_a040d4723d6f["createIfPossibleWhenTlsVerifyUsesHttps()"]
  781aab54_e630_1aac_e233_a040d4723d6f -->|calls| c3cd35fe_b807_96df_c63a_744fa5f0ced2
  style c3cd35fe_b807_96df_c63a_744fa5f0ced2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/transport/RemoteHttpClientTransportTests.java lines 94–101

	private Consumer<HttpHost> hostOf(String scheme, String hostName, int port) {
		return (host) -> {
			assertThat(host).isNotNull();
			assertThat(host.getSchemeName()).isEqualTo(scheme);
			assertThat(host.getHostName()).isEqualTo(hostName);
			assertThat(host.getPort()).isEqualTo(port);
		};
	}

Domain

Subdomains

Frequently Asked Questions

What does hostOf() do?
hostOf() is a function in the spring-boot codebase.
What calls hostOf()?
hostOf() is called by 2 function(s): createIfPossibleWhenNoTlsVerifyUsesHttp, createIfPossibleWhenTlsVerifyUsesHttps.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free