Interface HandlerStrategies.Builder
- Enclosing interface:
- HandlerStrategies
public static interface HandlerStrategies.Builder
A mutable builder for a 
HandlerStrategies.- 
Method SummaryModifier 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- 
codecsCustomize the list of server-side HTTP message readers and writers.- Parameters:
- consumer- the consumer to customize the codecs
- Returns:
- this builder
 
- 
viewResolverAdd the given view resolver to this builder.- Parameters:
- viewResolver- the view resolver to add
- Returns:
- this builder
 
- 
webFilterAdd the given web filter to this builder.- Parameters:
- filter- the filter to add
- Returns:
- this builder
 
- 
exceptionHandlerAdd the given exception handler to this builder.- Parameters:
- exceptionHandler- the exception handler to add
- Returns:
- this builder
 
- 
localeContextResolverAdd the given locale context resolver to this builder.- Parameters:
- localeContextResolver- the locale context resolver to add
- Returns:
- this builder
 
- 
buildHandlerStrategies build()Builds theHandlerStrategies.- Returns:
- the built strategies
 
 
-