of() — spring-boot Function Reference
Architecture documentation for the of() function in CorrelationIdFormatter.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 471310cc_4136_9fce_f63f_2f11db516804["of()"] 51bba85a_ec46_0ba3_f54f_f122d89c57f9["of()"] 51bba85a_ec46_0ba3_f54f_f122d89c57f9 -->|calls| 471310cc_4136_9fce_f63f_2f11db516804 c02b23e3_a9a7_e93a_4dfc_29c207743e72["newInstance()"] c02b23e3_a9a7_e93a_4dfc_29c207743e72 -->|calls| 471310cc_4136_9fce_f63f_2f11db516804 0875ba32_33ec_db3f_e53e_e52facf52819["start()"] 0875ba32_33ec_db3f_e53e_e52facf52819 -->|calls| 471310cc_4136_9fce_f63f_2f11db516804 51bba85a_ec46_0ba3_f54f_f122d89c57f9["of()"] 471310cc_4136_9fce_f63f_2f11db516804 -->|calls| 51bba85a_ec46_0ba3_f54f_f122d89c57f9 423d6767_db6b_f170_c508_aa9c8e9aac61["CorrelationIdFormatter()"] 471310cc_4136_9fce_f63f_2f11db516804 -->|calls| 423d6767_db6b_f170_c508_aa9c8e9aac61 style 471310cc_4136_9fce_f63f_2f11db516804 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/CorrelationIdFormatter.java lines 133–140
public static CorrelationIdFormatter of(@Nullable String spec) {
try {
return (!StringUtils.hasText(spec)) ? DEFAULT : of(List.of(spec.split(",")));
}
catch (Exception ex) {
throw new IllegalStateException("Unable to parse correlation formatter spec '%s'".formatted(spec), ex);
}
}
Domain
Subdomains
Calls
Called By
- newInstance()
- of()
- start()
Source
Frequently Asked Questions
What does of() do?
of() is a function in the spring-boot codebase.
What does of() call?
of() calls 2 function(s): CorrelationIdFormatter, of.
What calls of()?
of() is called by 3 function(s): newInstance, of, start.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free