validateResponse() — spring-boot Function Reference
Architecture documentation for the validateResponse() function in InitializrService.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2dca292a_e300_14f4_3a67_6e7bcf95bf27["validateResponse()"] 567f0e82_a439_c284_a2d2_9b42b552fdb8["generate()"] 567f0e82_a439_c284_a2d2_9b42b552fdb8 -->|calls| 2dca292a_e300_14f4_3a67_6e7bcf95bf27 b9cdd2c5_3135_06f6_e3ba_18065f7583fb["loadMetadata()"] b9cdd2c5_3135_06f6_e3ba_18065f7583fb -->|calls| 2dca292a_e300_14f4_3a67_6e7bcf95bf27 f177244f_956d_b9a1_6675_af2b7b1ec51c["loadServiceCapabilities()"] f177244f_956d_b9a1_6675_af2b7b1ec51c -->|calls| 2dca292a_e300_14f4_3a67_6e7bcf95bf27 68f3d00d_e975_a34a_9de3_481e8ce2cf2a["createException()"] 2dca292a_e300_14f4_3a67_6e7bcf95bf27 -->|calls| 68f3d00d_e975_a34a_9de3_481e8ce2cf2a style 2dca292a_e300_14f4_3a67_6e7bcf95bf27 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 143–150
private void validateResponse(ClassicHttpResponse httpResponse, String serviceUrl) {
if (httpResponse.getEntity() == null) {
throw new ReportableException("No content received from server '" + serviceUrl + "'");
}
if (httpResponse.getCode() != 200) {
throw createException(serviceUrl, httpResponse);
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does validateResponse() do?
validateResponse() is a function in the spring-boot codebase.
What does validateResponse() call?
validateResponse() calls 1 function(s): createException.
What calls validateResponse()?
validateResponse() is called by 3 function(s): generate, loadMetadata, loadServiceCapabilities.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free