Interface HandlerStrategies.Builder
- Enclosing interface:
 - HandlerStrategies
 
public static interface HandlerStrategies.Builder
A mutable builder for a 
HandlerStrategies.- 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theHandlerStrategies.codecs(Consumer<ServerCodecConfigurer> consumer) Customize the list of server-side HTTP message readers and writers.exceptionHandler(WebExceptionHandler exceptionHandler) Add the given exception handler to this builder.localeContextResolver(LocaleContextResolver localeContextResolver) Add the given locale context resolver to this builder.viewResolver(ViewResolver viewResolver) Add the given view resolver to this builder.Add the given web filter to this builder. 
- 
Method Details
- 
codecs
Customize the list of server-side HTTP message readers and writers.- Parameters:
 consumer- the consumer to customize the codecs- Returns:
 - this builder
 
 - 
viewResolver
Add the given view resolver to this builder.- Parameters:
 viewResolver- the view resolver to add- Returns:
 - this builder
 
 - 
webFilter
Add the given web filter to this builder.- Parameters:
 filter- the filter to add- Returns:
 - this builder
 
 - 
exceptionHandler
Add the given exception handler to this builder.- Parameters:
 exceptionHandler- the exception handler to add- Returns:
 - this builder
 
 - 
localeContextResolver
Add the given locale context resolver to this builder.- Parameters:
 localeContextResolver- the locale context resolver to add- Returns:
 - this builder
 
 - 
build
HandlerStrategies build()Builds theHandlerStrategies.- Returns:
 - the built strategies
 
 
 -