generate() — spring-boot Function Reference
Architecture documentation for the generate() function in InitializrService.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 567f0e82_a439_c284_a2d2_9b42b552fdb8["generate()"] fc88690e_99c9_f856_76c6_c71d50291cb8["info()"] 567f0e82_a439_c284_a2d2_9b42b552fdb8 -->|calls| fc88690e_99c9_f856_76c6_c71d50291cb8 b9cdd2c5_3135_06f6_e3ba_18065f7583fb["loadMetadata()"] 567f0e82_a439_c284_a2d2_9b42b552fdb8 -->|calls| b9cdd2c5_3135_06f6_e3ba_18065f7583fb 34cf1d48_3535_9b0a_43a2_50cccbeae4be["executeProjectGenerationRequest()"] 567f0e82_a439_c284_a2d2_9b42b552fdb8 -->|calls| 34cf1d48_3535_9b0a_43a2_50cccbeae4be 2dca292a_e300_14f4_3a67_6e7bcf95bf27["validateResponse()"] 567f0e82_a439_c284_a2d2_9b42b552fdb8 -->|calls| 2dca292a_e300_14f4_3a67_6e7bcf95bf27 e14f6b9f_65be_847b_be46_4fa70bba375b["createResponse()"] 567f0e82_a439_c284_a2d2_9b42b552fdb8 -->|calls| e14f6b9f_65be_847b_be46_4fa70bba375b style 567f0e82_a439_c284_a2d2_9b42b552fdb8 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 90–98
ProjectGenerationResponse generate(ProjectGenerationRequest request) throws IOException {
Log.info("Using service at " + request.getServiceUrl());
InitializrServiceMetadata metadata = loadMetadata(request.getServiceUrl());
URI url = request.generateUrl(metadata);
ClassicHttpResponse httpResponse = executeProjectGenerationRequest(url);
HttpEntity httpEntity = httpResponse.getEntity();
validateResponse(httpResponse, request.getServiceUrl());
return createResponse(httpResponse, httpEntity);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does generate() do?
generate() is a function in the spring-boot codebase.
What does generate() call?
generate() calls 5 function(s): createResponse, executeProjectGenerationRequest, info, loadMetadata, validateResponse.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free