WebFluxConfigurer that delegates to one or more others.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addCorsMappings(CorsRegistry registry)
Overrides default org. Configure "global" cross-origin request processing. |
| public void | addFormatters(FormatterRegistry registry)
Overrides default org. Add custom |
| public void | addResourceHandlers(ResourceHandlerRegistry registry)
Overrides default org. Add resource handlers for serving static resources. |
| public void | |
| public void | configureArgumentResolvers(ArgumentResolverConfigurer
to configurer to use configurer)Overrides default org. Configure resolvers for custom |
| public void | configureBlockingExecution(BlockingExecutionConfigurer configurer)
Overrides default org. Configure settings related to blocking execution in WebFlux. |
| public void | configureContentTypeResolver(RequestedContentTypeResolverBuilder
for configuring the resolvers to use builder)Overrides default org. Configure how the content type requested for the response is resolved when handling requests with annotated controllers. |
| public void | configureHttpMessageCodecs(ServerCodecConfigurer
the configurer to customize readers and writers configurer)Overrides default org. Configure the HTTP message readers and writers for reading from the request body and for writing to the response body in annotated controllers and functional endpoints. |
| public void | configurePathMatching(PathMatchConfigurer
the configurer)PathMatchConfigurer instanceOverrides default org. Configure path matching options. |
| public void | configureViewResolvers(ViewResolverRegistry registry)
Overrides default org. Configure view resolution for rendering responses with a view and a model, where the view is typically an HTML template but could also be based on an HTTP message writer (e.g. JSON, XML). |
| private <T> T | |
| public MessageCodesResolver | getMessageCodesResolver()
Overrides default org. Provide a custom |
| public Validator | getValidator()
Overrides default org. Provide a custom |
| public WebSocketService | getWebSocketService()
Overrides default org. Provide the |
| delegates | back to summary |
|---|---|
| private final List<WebFluxConfigurer> delegates | |
| WebFluxConfigurerComposite | back to summary |
|---|---|
| public WebFluxConfigurerComposite() | |
| addCorsMappings | back to summary |
|---|---|
| public void addCorsMappings(CorsRegistry registry) Overrides default org. Doc from org. Configure "global" cross-origin request processing. The configured CORS mappings apply to annotated controllers, functional endpoints, and static resources. Annotated controllers can further declare more fine-grained config via
| |
| addFormatters | back to summary |
|---|---|
| public void addFormatters(FormatterRegistry registry) Overrides default org. Doc from org. Add custom
| |
| addResourceHandlers | back to summary |
|---|---|
| public void addResourceHandlers(ResourceHandlerRegistry registry) Overrides default org. Doc from org. Add resource handlers for serving static resources.
| |
| addWebFluxConfigurers | back to summary |
|---|---|
| public void addWebFluxConfigurers(List<WebFluxConfigurer> configurers) | |
| configureArgumentResolvers | back to summary |
|---|---|
| public void configureArgumentResolvers(ArgumentResolverConfigurer configurer) Overrides default org. Doc from org. Configure resolvers for custom
| |
| configureBlockingExecution | back to summary |
|---|---|
| public void configureBlockingExecution(BlockingExecutionConfigurer configurer) Overrides default org. Doc from org. Configure settings related to blocking execution in WebFlux.
| |
| configureContentTypeResolver | back to summary |
|---|---|
| public void configureContentTypeResolver(RequestedContentTypeResolverBuilder builder) Overrides default org. Doc from org. Configure how the content type requested for the response is resolved when handling requests with annotated controllers.
| |
| configureHttpMessageCodecs | back to summary |
|---|---|
| public void configureHttpMessageCodecs(ServerCodecConfigurer configurer) Overrides default org. Doc from org. Configure the HTTP message readers and writers for reading from the request body and for writing to the response body in annotated controllers and functional endpoints. By default, all built-in readers and writers are configured as long as the corresponding 3rd party libraries such Jackson JSON, JAXB2, and others are present on the classpath.
| |
| configurePathMatching | back to summary |
|---|---|
| public void configurePathMatching(PathMatchConfigurer configurer) Overrides default org. Doc from org. Configure path matching options. The configured path matching options will be used for mapping to
annotated controllers and also
| |
| configureViewResolvers | back to summary |
|---|---|
| public void configureViewResolvers(ViewResolverRegistry registry) Overrides default org. Doc from org. Configure view resolution for rendering responses with a view and a model, where the view is typically an HTML template but could also be based on an HTTP message writer (e.g. JSON, XML). The configured view resolvers will be used for both annotated controllers and functional endpoints.
| |
| createSingleBean | back to summary |
|---|---|
private <T> T createSingleBean(Function<WebFluxConfigurer, T> factory, Class<T> beanType)
| |
| getMessageCodesResolver | back to summary |
|---|---|
| public MessageCodesResolver getMessageCodesResolver() Overrides default org. Doc from org. Provide a custom
| |
| getValidator | back to summary |
|---|---|
| public Validator getValidator() Overrides default org. Doc from org. Provide a custom By default a validator for standard bean validation is created if bean validation API is present on the classpath. The configured validator is used for validating annotated controller method arguments.
| |
| getWebSocketService | back to summary |
|---|---|
| public WebSocketService getWebSocketService() Overrides default org. Doc from org. Provide the | |