load() — spring-boot Function Reference
Architecture documentation for the load() function in PemContent.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ef899974_14f7_1e7d_3c57_b20b022a3de5["load()"] fc107cab_59f5_cbd6_99de_89242652e87b["isPresentInText()"] ef899974_14f7_1e7d_3c57_b20b022a3de5 -->|calls| fc107cab_59f5_cbd6_99de_89242652e87b 1521d5a7_8951_a32a_178e_42b00640a67d["PemContent()"] ef899974_14f7_1e7d_3c57_b20b022a3de5 -->|calls| 1521d5a7_8951_a32a_178e_42b00640a67d 8147d840_e0af_9e60_7717_49a563bfd00c["of()"] ef899974_14f7_1e7d_3c57_b20b022a3de5 -->|calls| 8147d840_e0af_9e60_7717_49a563bfd00c style ef899974_14f7_1e7d_3c57_b20b022a3de5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/ssl/pem/PemContent.java lines 119–132
static @Nullable PemContent load(@Nullable String content, ResourceLoader resourceLoader) throws IOException {
if (!StringUtils.hasLength(content)) {
return null;
}
if (isPresentInText(content)) {
return new PemContent(content);
}
try (InputStream in = resourceLoader.getResource(content).getInputStream()) {
return load(in);
}
catch (IOException | UncheckedIOException ex) {
throw new IOException("Error reading certificate or key from file '%s'".formatted(content), ex);
}
}
Domain
Subdomains
Calls
- PemContent()
- isPresentInText()
- of()
Source
Frequently Asked Questions
What does load() do?
load() is a function in the spring-boot codebase.
What does load() call?
load() calls 3 function(s): PemContent, isPresentInText, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free