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

buildVersionedUrl() — spring-boot Function Reference

Architecture documentation for the buildVersionedUrl() function in DockerApi.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d3a612ce_b434_53b7_c143_340ebca9d1b4["buildVersionedUrl()"]
  d1757773_1e32_5f99_15ef_5bbc9a9d8dd2["buildUrl()"]
  d1757773_1e32_5f99_15ef_5bbc9a9d8dd2 -->|calls| d3a612ce_b434_53b7_c143_340ebca9d1b4
  759ca794_5cea_60bd_cef5_13bbbdbfd61c["toString()"]
  d3a612ce_b434_53b7_c143_340ebca9d1b4 -->|calls| 759ca794_5cea_60bd_cef5_13bbbdbfd61c
  style d3a612ce_b434_53b7_c143_340ebca9d1b4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerApi.java lines 156–170

	private URI buildVersionedUrl(ApiVersion version, String path, Object @Nullable ... params) {
		try {
			URIBuilder builder = new URIBuilder("/v" + version + path);
			if (params != null) {
				int param = 0;
				while (param < params.length) {
					builder.addParameter(Objects.toString(params[param++]), Objects.toString(params[param++]));
				}
			}
			return builder.build();
		}
		catch (URISyntaxException ex) {
			throw new IllegalStateException(ex);
		}
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does buildVersionedUrl() do?
buildVersionedUrl() is a function in the spring-boot codebase.
What does buildVersionedUrl() call?
buildVersionedUrl() calls 1 function(s): toString.
What calls buildVersionedUrl()?
buildVersionedUrl() is called by 1 function(s): buildUrl.

Analyze Your Own Codebase

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

Try Supermodel Free