exceptionErrorWithCommittedResponse() — spring-boot Function Reference
Architecture documentation for the exceptionErrorWithCommittedResponse() function in ErrorPageFilterTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a672dd7c_342e_cbff_5398_ca60fa8f7e86["exceptionErrorWithCommittedResponse()"] ceb50e39_12a3_53c8_45a3_31278bc19af6["ErrorPage()"] a672dd7c_342e_cbff_5398_ca60fa8f7e86 -->|calls| ceb50e39_12a3_53c8_45a3_31278bc19af6 b3fa6802_0fcb_6ddf_3e94_a5f8ad2cf83a["TestFilterChain()"] a672dd7c_342e_cbff_5398_ca60fa8f7e86 -->|calls| b3fa6802_0fcb_6ddf_3e94_a5f8ad2cf83a 822a5bf1_1210_1d34_4d64_7b2af9ebd5f5["doFilter()"] a672dd7c_342e_cbff_5398_ca60fa8f7e86 -->|calls| 822a5bf1_1210_1d34_4d64_7b2af9ebd5f5 style a672dd7c_342e_cbff_5398_ca60fa8f7e86 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterTests.java lines 219–229
@Test
void exceptionErrorWithCommittedResponse() throws Exception {
this.filter.addErrorPages(new ErrorPage(RuntimeException.class, "/500"));
this.chain = new TestFilterChain((request, response, chain) -> {
chain.call();
response.flushBuffer();
throw new RuntimeException("BAD");
});
this.filter.doFilter(this.request, this.response, this.chain);
assertThat(this.response.getForwardedUrl()).isNull();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does exceptionErrorWithCommittedResponse() do?
exceptionErrorWithCommittedResponse() is a function in the spring-boot codebase.
What does exceptionErrorWithCommittedResponse() call?
exceptionErrorWithCommittedResponse() calls 3 function(s): ErrorPage, TestFilterChain, doFilter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free