public static interface HandlerStrategies.Builder
HandlerStrategies
.Modifier and Type | Method and Description |
---|---|
HandlerStrategies |
build()
Builds the
HandlerStrategies . |
HandlerStrategies.Builder |
codecs(java.util.function.Consumer<ServerCodecConfigurer> consumer)
Customize the list of server-side HTTP message readers and writers.
|
HandlerStrategies.Builder |
exceptionHandler(WebExceptionHandler exceptionHandler)
Add the given exception handler to this builder.
|
HandlerStrategies.Builder |
localeContextResolver(LocaleContextResolver localeContextResolver)
Add the given locale context resolver to this builder.
|
HandlerStrategies.Builder |
viewResolver(ViewResolver viewResolver)
Add the given view resolver to this builder.
|
HandlerStrategies.Builder |
webFilter(WebFilter filter)
Add the given web filter to this builder.
|
HandlerStrategies.Builder codecs(java.util.function.Consumer<ServerCodecConfigurer> consumer)
consumer
- the consumer to customize the codecsHandlerStrategies.Builder viewResolver(ViewResolver viewResolver)
viewResolver
- the view resolver to addHandlerStrategies.Builder webFilter(WebFilter filter)
filter
- the filter to addHandlerStrategies.Builder exceptionHandler(WebExceptionHandler exceptionHandler)
exceptionHandler
- the exception handler to addHandlerStrategies.Builder localeContextResolver(LocaleContextResolver localeContextResolver)
localeContextResolver
- the locale context resolver to addHandlerStrategies build()
HandlerStrategies
.