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

getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion() — spring-boot Function Reference

Architecture documentation for the getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion() function in DockerApiTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  173f834c_ebca_6d8b_4321_ff7739aa96dc["getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion()"]
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  173f834c_ebca_6d8b_4321_ff7739aa96dc -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  afedcd71_18d9_5bb8_19a9_5cfd4e33275b["responseWithHeaders()"]
  173f834c_ebca_6d8b_4321_ff7739aa96dc -->|calls| afedcd71_18d9_5bb8_19a9_5cfd4e33275b
  style 173f834c_ebca_6d8b_4321_ff7739aa96dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/DockerApiTests.java lines 882–887

		@Test
		void getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion() throws Exception {
			given(http().head(eq(new URI(PING_URL))))
				.willReturn(responseWithHeaders(new BasicHeader(DockerApi.API_VERSION_HEADER_NAME, "")));
			assertThat(this.api.getApiVersion()).isEqualTo(DockerApi.UNKNOWN_API_VERSION);
		}

Subdomains

Frequently Asked Questions

What does getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion() do?
getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion() is a function in the spring-boot codebase.
What does getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion() call?
getApiVersionWithEmptyVersionHeaderReturnsUnknownVersion() calls 2 function(s): http, responseWithHeaders.

Analyze Your Own Codebase

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

Try Supermodel Free