程序包 cn.taketoday.web.handler.method
@NonNullApi
@NonNullFields
package cn.taketoday.web.handler.method
Method handler
- 从以下版本开始:
- 4.0 2022/5/23 10:41
- 作者:
- Harry Yang
-
类说明Abstract base class for
HandlerAdapterimplementations that support handlers of typeHandlerMethod.Abstract base class forHandlerMappingimplementations that define a mapping between a request and aHandlerMethod.A thin wrapper around a matched HandlerMethod and its mapping, for the purpose of comparing the best match with a comparator in the context of the current request.A convenient base class forResponseBodyAdviceimplementations that customize the response before JSON serialization withAbstractJackson2HttpMessageConverter's concrete subclasses.HTTP Request Annotation HandlerEncapsulates information about an@ControllerAdviceFramework-managed bean without necessarily requiring it to be instantiated.HandleExceptionHandlerannotated methodDiscovers @ExceptionHandler methods in a given class, including all of its superclasses, and helps to resolve a givenExceptionto the exception types supported by a givenMethod.APredicateto match request handling component types if any of the following selectors match: Base packages -- for selecting handlers by their package.AHandlerTypePredicatebuilder.ExtendsBindingContextwith@InitBindermethod initialization.Extension ofHandlerMethodthat invokes the underlying method with argument values resolved from the current HTTP request through a list ofParameterResolvingStrategy.ARequestBodyAdviceimplementation that adds support for Jackson's@JsonViewannotation declared on MVC@HttpEntityor@RequestBodymethod parameter.AResponseBodyAdviceimplementation that adds support for Jackson's@JsonViewannotation declared on MVC@RequestMappingor@ExceptionHandlermethod.A ConversionNotSupportedException raised while resolving a method argument.A TypeMismatchException raised while resolving a controller method argument.for ModelAndViewResolve@ModelAttributeannotated method arguments and handle return values from@ModelAttributeannotated methods.Assist with initialization of theModelbefore controller method invocation and with updates to it after the invocation.Creates instances ofUriComponentsBuilderby pointing to@RequestMappingmethods on MVC controllers.Builder class to create URLs for method arguments.Method invocation information.Represents the information about a named value, including name, whether it's required and a default value.Private helper class to assist with handling "reactive" return values types that can be adapted to a Reactive StreamsPublisherthrough theReactiveAdapterRegistry.List of collect values where all elements are a specified type.ParameterResolvingRegistry ResolvableParameterFactoryAllows customizing the request before its body is read and converted into an Object and also allows for processing of the resulting Object before it is passed into a controller method as an@RequestBodyor anHttpEntitymethod argument.CreatesRequestMappingInfoinstances from type and method-level@RequestMappingannotations in@Controllerclasses.Request mapping information.Defines a builder for creating a RequestMappingInfo.Container for configuration options used for request mapping purposes.Abstract base class for classes for whichRequestMappingInfodefines the mapping between a request and a handler method.Default handler for HTTP OPTIONS.Aggregate all partial matches and expose methods checking across them.Container for a RequestMappingInfo that matches the URL path at least.AHandlerMethodMappingNamingStrategyforRequestMappingInfo-based handler method mappings.Abstraction for ParameterBuildResolvableMethodParameterarrayAllows customizing the response after the execution of an@ResponseBodyor aResponseEntitycontroller method but before the body is written with anHttpMessageConverter.A controller method return value type for asynchronous request processing where one or more objects are written to the response.A simple holder of data to be written along with a MediaType hint for selecting a message converter to write with.Contract to handle the sending of event data, the completion of event sending, and the registration of callbacks to be invoked in case of timeout, error, and completion for any reason (including from the container side).Handler for return values of typeResponseBodyEmitterand sub-classes such asSseEmitterincluding the same types wrapped withResponseEntity.Manages controller-specific session attributes declared via@SessionAttributes.A specialization ofResponseBodyEmitterfor sending Server-Sent Events.A builder for an SSE event.Default implementation of SseEventBuilder.