Class WebHttpHandlerBuilder

java.lang.Object
org.springframework.web.server.adapter.WebHttpHandlerBuilder

public final class WebHttpHandlerBuilder extends Object
This builder has two purposes:

One is to assemble a processing chain that consists of a target WebHandler, then decorated with a set of WebFilters, then further decorated with a set of WebExceptionHandlers.

The second purpose is to adapt the resulting processing chain to an HttpHandler: the lowest-level reactive HTTP handling abstraction which can then be used with any of the supported runtimes. The adaptation is done with the help of HttpWebHandlerAdapter.

The processing chain can be assembled manually via builder methods, or detected from a Spring ApplicationContext via applicationContext, or a mix of both.

Since:
5.0
Author:
Rossen Stoyanchev, Sebastien Deleuze
See Also: