@RequestMapping
handler methods.
| Modifier and Type | Class and Description |
|---|---|
| private static record | RequestMappingHandlerAdapter.
Match methods with a return type without an adapter in |
| Modifier and Type | Field and Description |
|---|---|
| private ConfigurableApplicationContext | |
| private ArgumentResolverConfigurer | |
| private Predicate | |
| private static final String | DISCONNECTED_CLIENT_LOG_CATEGORY
Log category to use for network failure after a client has gone away. |
| private static final DisconnectedClientHelper | |
| private static final Log | |
| private List | |
| private ControllerMethodResolver | |
| private ModelInitializer | |
| private ReactiveAdapterRegistry | |
| private Scheduler | |
| private WebBindingInitializer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public ArgumentResolverConfigurer | |
| public List | |
| public ReactiveAdapterRegistry | |
| public WebBindingInitializer | |
| public Mono | handle(ServerWebExchange
current server exchange exchange, Object the selected handler which must have been previously
checked via handler)supports(Object)Implements org. Handle the request with the given handler, previously checked via
|
| public Mono | handleError(ServerWebExchange
the current exchange exchange, Throwable the exception to handle ex)Implements org. Handle the given exception, mapping it to a |
| private Mono | handleException(ServerWebExchange exchange, Throwable exception, HandlerMethod handlerMethod, BindingContext bindingContext)
|
| public void | setApplicationContext(ApplicationContext
the ApplicationContext object to be used by this object applicationContext)Implements org. A |
| public void | setArgumentResolverConfigurer(ArgumentResolverConfigurer configurer)
Configure resolvers for controller method arguments. |
| public void | setBlockingExecutor(Executor
the task executor to use executor)Configure an executor to invoke blocking controller methods with. |
| public void | setBlockingMethodPredicate(Predicate<HandlerMethod>
the predicate to use predicate)Provide a predicate to decide which controller methods to invoke through
the configured |
| public void | setMessageReaders(List<HttpMessageReader<?>> messageReaders)
Configure HTTP message readers to de-serialize the request body with. |
| public void | setReactiveAdapterRegistry(ReactiveAdapterRegistry registry)
Configure the registry for adapting various reactive types. |
| public void | setWebBindingInitializer(WebBindingInitializer webBindingInitializer)
Provide a WebBindingInitializer with "global" initialization to apply to every DataBinder instance. |
| public boolean | supports(Object
the handler object to check handler)Implements org. Whether this |
| applicationContext | back to summary |
|---|---|
| private ConfigurableApplicationContext applicationContext
| |
| argumentResolverConfigurer | back to summary |
|---|---|
| private ArgumentResolverConfigurer argumentResolverConfigurer
| |
| blockingMethodPredicate | back to summary |
|---|---|
| private Predicate<HandlerMethod> blockingMethodPredicate
| |
| DISCONNECTED_CLIENT_LOG_CATEGORY | back to summary |
|---|---|
| private static final String DISCONNECTED_CLIENT_LOG_CATEGORY Log category to use for network failure after a client has gone away.
| |
| disconnectedClientHelper | back to summary |
|---|---|
| private static final DisconnectedClientHelper disconnectedClientHelper | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| messageReaders | back to summary |
|---|---|
| private List<HttpMessageReader<?>> messageReaders | |
| methodResolver | back to summary |
|---|---|
| private ControllerMethodResolver methodResolver
| |
| modelInitializer | back to summary |
|---|---|
| private ModelInitializer modelInitializer
| |
| reactiveAdapterRegistry | back to summary |
|---|---|
| private ReactiveAdapterRegistry reactiveAdapterRegistry
| |
| scheduler | back to summary |
|---|---|
| private Scheduler scheduler
| |
| webBindingInitializer | back to summary |
|---|---|
| private WebBindingInitializer webBindingInitializer
| |
| RequestMappingHandlerAdapter | back to summary |
|---|---|
| public RequestMappingHandlerAdapter() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() throws Exception Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. | |
| getArgumentResolverConfigurer | back to summary |
|---|---|
| public ArgumentResolverConfigurer getArgumentResolverConfigurer() Return the configured resolvers for controller method arguments.
| |
| getMessageReaders | back to summary |
|---|---|
| public List Return the configurer for HTTP message readers. | |
| getReactiveAdapterRegistry | back to summary |
|---|---|
| public ReactiveAdapterRegistry getReactiveAdapterRegistry() Return the configured registry for adapting reactive types.
| |
| getWebBindingInitializer | back to summary |
|---|---|
| public WebBindingInitializer getWebBindingInitializer() Return the configured WebBindingInitializer, or
| |
| handle | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Handle the request with the given handler, previously checked via
Implementations should consider the following for exception handling:
| |
| handleError | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Handle the given exception, mapping it to a
| |
| handleException | back to summary |
|---|---|
| private Mono | |
| setApplicationContext | back to summary |
|---|---|
| public void setApplicationContext(ApplicationContext applicationContext) Implements org. A
| |
| setArgumentResolverConfigurer | back to summary |
|---|---|
| public void setArgumentResolverConfigurer(ArgumentResolverConfigurer configurer) Configure resolvers for controller method arguments. | |
| setBlockingExecutor | back to summary |
|---|---|
| public void setBlockingExecutor(Executor executor) Configure an executor to invoke blocking controller methods with. By default, this is not set in which case controller methods are invoked without the use of an Executor.
| |
| setBlockingMethodPredicate | back to summary |
|---|---|
| public void setBlockingMethodPredicate(Predicate<HandlerMethod> predicate) Provide a predicate to decide which controller methods to invoke through
the configured If an executor is configured, the default predicate matches controller
methods whose return type is not recognized by the configured
| |
| setMessageReaders | back to summary |
|---|---|
| public void setMessageReaders(List<HttpMessageReader<?>> messageReaders) Configure HTTP message readers to de-serialize the request body with. By default this is set to | |
| setReactiveAdapterRegistry | back to summary |
|---|---|
| public void setReactiveAdapterRegistry(ReactiveAdapterRegistry registry) Configure the registry for adapting various reactive types. By default this is an instance of | |
| setWebBindingInitializer | back to summary |
|---|---|
| public void setWebBindingInitializer(WebBindingInitializer webBindingInitializer) Provide a WebBindingInitializer with "global" initialization to apply to every DataBinder instance. | |
| supports | back to summary |
|---|---|
| public boolean supports(Object handler) Implements org. Doc from org. Whether this | |
ReactiveAdapterRegistry
which are not suspending functions.
| Modifier and Type | Field and Description |
|---|---|
| private final ReactiveAdapterRegistry | adapterRegistry
Record Component accessed by adapterRegistry(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ReactiveAdapterRegistry | |
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public boolean | test(HandlerMethod
the input argument handlerMethod)Implements java. Evaluates this predicate on the given argument. |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| adapterRegistry | back to summary |
|---|---|
| private final ReactiveAdapterRegistry adapterRegistry Record Component accessed by adapterRegistry(). | |
| NonReactiveHandlerMethodPredicate | back to summary |
|---|---|
| private NonReactiveHandlerMethodPredicate(ReactiveAdapterRegistry adapterRegistry) | |
| adapterRegistry | back to summary |
|---|---|
| public ReactiveAdapterRegistry adapterRegistry() Record Component getter of adapterRegistry. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| test | back to summary |
|---|---|
| public boolean test(HandlerMethod handlerMethod) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |