Import directly or extend and override protected methods to customize.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ApplicationContext | |
| private BlockingExecutionConfigurer | |
| private Map | |
| private static final boolean | |
| private PathMatchConfigurer | |
| private ViewResolverRegistry |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addCorsMappings(CorsRegistry registry)
Override this method to configure cross-origin requests processing. |
| protected void | addFormatters(FormatterRegistry registry)
Override this method to add custom |
| protected void | addResourceHandlers(ResourceHandlerRegistry registry)
Override this method to add resource handlers for serving static resources. |
| private void | |
| protected void | configureArgumentResolvers(ArgumentResolverConfigurer configurer)
Configure resolvers for custom controller method arguments. |
| protected void | configureBlockingExecution(BlockingExecutionConfigurer configurer)
Override this method to configure blocking execution. |
| protected void | configureContentTypeResolver(RequestedContentTypeResolverBuilder builder)
Override to configure how the requested content type is resolved. |
| protected void | configureHttpMessageCodecs(ServerCodecConfigurer configurer)
Override to configure the HTTP message readers and writers to use. |
| public void | |
| protected void | configureViewResolvers(ViewResolverRegistry registry)
Configure view resolution for supporting template engines. |
| protected LocaleContextResolver | |
| protected RequestMappingHandlerAdapter | |
| protected RequestMappingHandlerMapping | |
| protected RouterFunctionMapping | |
| public final ApplicationContext | |
| protected final BlockingExecutionConfigurer | |
| protected ConfigurableWebBindingInitializer | getConfigurableWebBindingInitializer(FormattingConversionService webFluxConversionService, Validator webFluxValidator)
Return the |
| protected final Map | |
| protected MessageCodesResolver | |
| protected final PathMatchConfigurer | |
| protected Validator | |
| protected final ViewResolverRegistry | |
| protected WebSocketService | |
| public HandlerFunctionAdapter | |
| private WebSocketService | |
| public LocaleContextResolver | |
| public RequestMappingHandlerAdapter | requestMappingHandlerAdapter(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, FormattingConversionService conversionService, Validator validator)
|
| public RequestMappingHandlerMapping | |
| public HandlerMapping | resourceHandlerMapping(ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers. |
| public ResourceUrlProvider | |
| public ResponseBodyResultHandler | responseBodyResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver)
|
| public ResponseEntityResultHandler | responseEntityResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver)
|
| public WebExceptionHandler | |
| public RouterFunctionMapping | |
| public ServerCodecConfigurer | |
| public ServerResponseResultHandler | |
| public void | setApplicationContext(ApplicationContext
the ApplicationContext object to be used by this object applicationContext)Implements org. Set the ApplicationContext that this object runs in. Normally this call will be used to initialize the object. |
| public SimpleHandlerAdapter | |
| public ViewResolutionResultHandler | viewResolutionResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, RequestedContentTypeResolver contentTypeResolver)
|
| public ReactiveAdapterRegistry | |
| public RequestedContentTypeResolver | |
| public FormattingConversionService | |
| public Validator | webFluxValidator()
Return a global |
| public WebSocketHandlerAdapter | |
| public DispatcherHandler |
| applicationContext | back to summary |
|---|---|
| private ApplicationContext applicationContext
| |
| blockingExecutionConfigurer | back to summary |
|---|---|
| private BlockingExecutionConfigurer blockingExecutionConfigurer
| |
| corsConfigurations | back to summary |
|---|---|
| private Map<String, CorsConfiguration> corsConfigurations
| |
| jakartaValidatorPresent | back to summary |
|---|---|
| private static final boolean jakartaValidatorPresent | |
| pathMatchConfigurer | back to summary |
|---|---|
| private PathMatchConfigurer pathMatchConfigurer
| |
| viewResolverRegistry | back to summary |
|---|---|
| private ViewResolverRegistry viewResolverRegistry
| |
| WebFluxConfigurationSupport | back to summary |
|---|---|
| public WebFluxConfigurationSupport() | |
| addCorsMappings | back to summary |
|---|---|
| protected void addCorsMappings(CorsRegistry registry) Override this method to configure cross-origin requests processing.
| |
| addFormatters | back to summary |
|---|---|
| protected void addFormatters(FormatterRegistry registry) Override this method to add custom
| |
| addResourceHandlers | back to summary |
|---|---|
| protected void addResourceHandlers(ResourceHandlerRegistry registry) Override this method to add resource handlers for serving static resources.
| |
| configureAbstractHandlerMapping | back to summary |
|---|---|
private void configureAbstractHandlerMapping(AbstractHandlerMapping mapping, PathMatchConfigurer configurer)
| |
| configureArgumentResolvers | back to summary |
|---|---|
| protected void configureArgumentResolvers(ArgumentResolverConfigurer configurer) Configure resolvers for custom controller method arguments. | |
| configureBlockingExecution | back to summary |
|---|---|
| protected void configureBlockingExecution(BlockingExecutionConfigurer configurer) Override this method to configure blocking execution.
| |
| configureContentTypeResolver | back to summary |
|---|---|
| protected void configureContentTypeResolver(RequestedContentTypeResolverBuilder builder) Override to configure how the requested content type is resolved. | |
| configureHttpMessageCodecs | back to summary |
|---|---|
| protected void configureHttpMessageCodecs(ServerCodecConfigurer configurer) Override to configure the HTTP message readers and writers to use. | |
| configurePathMatching | back to summary |
|---|---|
| public void configurePathMatching(PathMatchConfigurer configurer) Override to configure path matching options. | |
| configureViewResolvers | back to summary |
|---|---|
| protected void configureViewResolvers(ViewResolverRegistry registry) Configure view resolution for supporting template engines.
| |
| createLocaleContextResolver | back to summary |
|---|---|
| protected LocaleContextResolver createLocaleContextResolver() Override to plug a subclass of | |
| createRequestMappingHandlerAdapter | back to summary |
|---|---|
| protected RequestMappingHandlerAdapter createRequestMappingHandlerAdapter() Override to plug a subclass of | |
| createRequestMappingHandlerMapping | back to summary |
|---|---|
| protected RequestMappingHandlerMapping createRequestMappingHandlerMapping() Override to plug a subclass of | |
| createRouterFunctionMapping | back to summary |
|---|---|
| protected RouterFunctionMapping createRouterFunctionMapping() Override to plug a subclass of | |
| getApplicationContext | back to summary |
|---|---|
public final ApplicationContext getApplicationContext()
| |
| getBlockingExecutionConfigurer | back to summary |
|---|---|
| protected final BlockingExecutionConfigurer getBlockingExecutionConfigurer() Callback to build and cache the
| |
| getConfigurableWebBindingInitializer | back to summary |
|---|---|
| protected ConfigurableWebBindingInitializer getConfigurableWebBindingInitializer(FormattingConversionService webFluxConversionService, Validator webFluxValidator) Return the | |
| getCorsConfigurations | back to summary |
|---|---|
| protected final Map Callback for building the global CORS configuration. This method is final.
Use | |
| getMessageCodesResolver | back to summary |
|---|---|
| protected MessageCodesResolver getMessageCodesResolver() Override this method to provide a custom
| |
| getPathMatchConfigurer | back to summary |
|---|---|
| protected final PathMatchConfigurer getPathMatchConfigurer() Callback for building the | |
| getValidator | back to summary |
|---|---|
| protected Validator getValidator() Override this method to provide a custom
| |
| getViewResolverRegistry | back to summary |
|---|---|
| protected final ViewResolverRegistry getViewResolverRegistry() Callback for building the | |
| getWebSocketService | back to summary |
|---|---|
protected WebSocketService getWebSocketService()
| |
| handlerFunctionAdapter | back to summary |
|---|---|
public HandlerFunctionAdapter handlerFunctionAdapter()
| |
| initWebSocketService | back to summary |
|---|---|
| private WebSocketService initWebSocketService() | |
| localeContextResolver | back to summary |
|---|---|
public LocaleContextResolver localeContextResolver()
| |
| requestMappingHandlerAdapter | back to summary |
|---|---|
public RequestMappingHandlerAdapter requestMappingHandlerAdapter(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, FormattingConversionService conversionService, Validator validator)
| |
| requestMappingHandlerMapping | back to summary |
|---|---|
public RequestMappingHandlerMapping requestMappingHandlerMapping(RequestedContentTypeResolver contentTypeResolver)
| |
| resourceHandlerMapping | back to summary |
|---|---|
| public HandlerMapping resourceHandlerMapping(ResourceUrlProvider resourceUrlProvider) Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
resource handlers. To configure resource handling, override
| |
| resourceUrlProvider | back to summary |
|---|---|
public ResourceUrlProvider resourceUrlProvider()
| |
| responseBodyResultHandler | back to summary |
|---|---|
public ResponseBodyResultHandler responseBodyResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver)
| |
| responseEntityResultHandler | back to summary |
|---|---|
public ResponseEntityResultHandler responseEntityResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver)
| |
| responseStatusExceptionHandler | back to summary |
|---|---|
| public WebExceptionHandler responseStatusExceptionHandler() | |
| routerFunctionMapping | back to summary |
|---|---|
public RouterFunctionMapping routerFunctionMapping(ServerCodecConfigurer serverCodecConfigurer)
| |
| serverCodecConfigurer | back to summary |
|---|---|
| public ServerCodecConfigurer serverCodecConfigurer() Return the configurer for HTTP message readers and writers. Use
| |
| serverResponseResultHandler | back to summary |
|---|---|
public ServerResponseResultHandler serverResponseResultHandler(ServerCodecConfigurer serverCodecConfigurer)
| |
| setApplicationContext | back to summary |
|---|---|
| public void setApplicationContext(ApplicationContext applicationContext) Implements org. Doc from org. Set the ApplicationContext that this object runs in. Normally this call will be used to initialize the object. Invoked after population of normal bean properties but before an init callback such
as
| |
| simpleHandlerAdapter | back to summary |
|---|---|
public SimpleHandlerAdapter simpleHandlerAdapter()
| |
| viewResolutionResultHandler | back to summary |
|---|---|
public ViewResolutionResultHandler viewResolutionResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry, RequestedContentTypeResolver contentTypeResolver)
| |
| webFluxAdapterRegistry | back to summary |
|---|---|
| public ReactiveAdapterRegistry webFluxAdapterRegistry() Return a
| |
| webFluxContentTypeResolver | back to summary |
|---|---|
public RequestedContentTypeResolver webFluxContentTypeResolver()
| |
| webFluxConversionService | back to summary |
|---|---|
| public FormattingConversionService webFluxConversionService() Return a See
| |
| webFluxValidator | back to summary |
|---|---|
| public Validator webFluxValidator() Return a global Delegates to
| |
| webFluxWebSocketHandlerAdapter | back to summary |
|---|---|
public WebSocketHandlerAdapter webFluxWebSocketHandlerAdapter()
| |
| webHandler | back to summary |
|---|---|
public DispatcherHandler webHandler()
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Mono | getHandlerInternal(ServerWebExchange
current exchange exchange)Implements abstract org. Look up a handler for the given request, returning an empty |
| EmptyHandlerMapping | back to summary |
|---|---|
| private EmptyHandlerMapping() | |
| getHandlerInternal | back to summary |
|---|---|
| public Mono Implements abstract org. Doc from org. Look up a handler for the given request, returning an empty On CORS pre-flight requests this method should return a match not for the pre-flight request but for the expected actual request based on the URL path, the HTTP methods from the "Access-Control-Request-Method" header, and the headers from the "Access-Control-Request-Headers" header.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | validate(Object
the object that is to be validated target, Errors contextual state about the validation process errors)Implements org. Validate the given |
| NoOpValidator | back to summary |
|---|---|
| private NoOpValidator() | |
| supports | back to summary |
|---|---|
| public boolean supports(Class<?> clazz) Implements org. Doc from org. Can this This method is typically implemented like so: return Foo.class.isAssignableFrom(clazz);(Where Foo is the class (or superclass) of the actual
object instance that is to be validated.)
| |
| validate | back to summary |
|---|---|
| public void validate(Object target, Errors errors) Implements org. Doc from org. Validate the given The supplied | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Mono | handleRequest(ServerWebExchange
the current exchange exchange, WebSocketHandler handler for WebSocket session webSocketHandler)Implements org. Handle the request with the given |
| NoUpgradeStrategyWebSocketService | back to summary |
|---|---|
| private NoUpgradeStrategyWebSocketService() | |
| handleRequest | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Handle the request with the given
| |