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

execute() — spring-boot Function Reference

Architecture documentation for the execute() function in InitializrService.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  603a0215_5d33_38af_cdcd_0430c320f36c["execute()"]
  f177244f_956d_b9a1_6675_af2b7b1ec51c["loadServiceCapabilities()"]
  f177244f_956d_b9a1_6675_af2b7b1ec51c -->|calls| 603a0215_5d33_38af_cdcd_0430c320f36c
  34cf1d48_3535_9b0a_43a2_50cccbeae4be["executeProjectGenerationRequest()"]
  34cf1d48_3535_9b0a_43a2_50cccbeae4be -->|calls| 603a0215_5d33_38af_cdcd_0430c320f36c
  843cb37f_0970_aa9a_772f_b57df6b0d3cd["executeInitializrMetadataRetrieval()"]
  843cb37f_0970_aa9a_772f_b57df6b0d3cd -->|calls| 603a0215_5d33_38af_cdcd_0430c320f36c
  6f077e44_06e6_f125_41eb_ff3dc8b8bf09["getHttp()"]
  603a0215_5d33_38af_cdcd_0430c320f36c -->|calls| 6f077e44_06e6_f125_41eb_ff3dc8b8bf09
  style 603a0215_5d33_38af_cdcd_0430c320f36c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java lines 184–194

	private ClassicHttpResponse execute(HttpUriRequest request, URI url, String description) {
		try {
			HttpHost host = HttpHost.create(url);
			request.addHeader("User-Agent", "SpringBootCli/" + getClass().getPackage().getImplementationVersion());
			return getHttp().executeOpen(host, request, null);
		}
		catch (IOException ex) {
			throw new ReportableException(
					"Failed to " + description + " from service at '" + url + "' (" + ex.getMessage() + ")");
		}
	}

Domain

Subdomains

Calls

  • getHttp()

Frequently Asked Questions

What does execute() do?
execute() is a function in the spring-boot codebase.
What does execute() call?
execute() calls 1 function(s): getHttp.
What calls execute()?
execute() is called by 3 function(s): executeInitializrMetadataRetrieval, executeProjectGenerationRequest, loadServiceCapabilities.

Analyze Your Own Codebase

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

Try Supermodel Free