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

getServerUrl() — spring-boot Function Reference

Architecture documentation for the getServerUrl() function in DockerRegistryConfigAuthentication.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9["getServerUrl()"]
  a332b0b6_1f84_5f90_c5e0_0ffa96c1ae66["getAuthHeader()"]
  a332b0b6_1f84_5f90_c5e0_0ffa96c1ae66 -->|calls| c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9
  7f4bae60_5717_82eb_ecf7_3636be3e6b9e["getAuthentication()"]
  7f4bae60_5717_82eb_ecf7_3636be3e6b9e -->|calls| c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9
  866071d5_730d_587d_1d8d_6e66b4b7f447["getDomain()"]
  c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9 -->|calls| 866071d5_730d_587d_1d8d_6e66b4b7f447
  d59d57fe_e90e_fdc9_79e6_7e82665fba5c["equals()"]
  c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9 -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  style c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerRegistryConfigAuthentication.java lines 83–86

	private @Nullable String getServerUrl(@Nullable ImageReference imageReference) {
		String domain = (imageReference != null) ? imageReference.getDomain() : null;
		return (!DEFAULT_DOMAIN.equals(domain)) ? domain : INDEX_URL;
	}

Subdomains

Frequently Asked Questions

What does getServerUrl() do?
getServerUrl() is a function in the spring-boot codebase.
What does getServerUrl() call?
getServerUrl() calls 2 function(s): equals, getDomain.
What calls getServerUrl()?
getServerUrl() is called by 2 function(s): getAuthHeader, getAuthentication.

Analyze Your Own Codebase

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

Try Supermodel Free