Home / Function/ setUpAsyncDispatch() — spring-boot Function Reference

setUpAsyncDispatch() — spring-boot Function Reference

Architecture documentation for the setUpAsyncDispatch() function in ErrorPageFilterTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  49fe2a7f_7e05_9f39_8a55_da13e6ff4015["setUpAsyncDispatch()"]
  af6a9554_7ce1_dc84_75dd_096afc501f5a["responseIsNotCommittedDuringAsyncDispatch()"]
  af6a9554_7ce1_dc84_75dd_096afc501f5a -->|calls| 49fe2a7f_7e05_9f39_8a55_da13e6ff4015
  b731a0e0_4d92_5c59_b057_428ab493e9b4["responseIsCommittedWhenExceptionIsThrownDuringAsyncDispatch()"]
  b731a0e0_4d92_5c59_b057_428ab493e9b4 -->|calls| 49fe2a7f_7e05_9f39_8a55_da13e6ff4015
  42fdd5a5_3259_6801_9ec2_8e01f9d11b74["responseIsCommittedWhenStatusIs400PlusDuringAsyncDispatch()"]
  42fdd5a5_3259_6801_9ec2_8e01f9d11b74 -->|calls| 49fe2a7f_7e05_9f39_8a55_da13e6ff4015
  style 49fe2a7f_7e05_9f39_8a55_da13e6ff4015 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 422–429

	private void setUpAsyncDispatch() throws Exception {
		this.request.setAsyncSupported(true);
		this.request.setAsyncStarted(true);
		DeferredResult<String> result = new DeferredResult<>();
		WebAsyncManager asyncManager = WebAsyncUtils.getAsyncManager(this.request);
		asyncManager.setAsyncWebRequest(new StandardServletAsyncWebRequest(this.request, this.response));
		asyncManager.startDeferredResultProcessing(result);
	}

Domain

Subdomains

Frequently Asked Questions

What does setUpAsyncDispatch() do?
setUpAsyncDispatch() is a function in the spring-boot codebase.
What calls setUpAsyncDispatch()?
setUpAsyncDispatch() is called by 3 function(s): responseIsCommittedWhenExceptionIsThrownDuringAsyncDispatch, responseIsCommittedWhenStatusIs400PlusDuringAsyncDispatch, responseIsNotCommittedDuringAsyncDispatch.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free