Uses of Class
org.springframework.core.MethodParameter
Packages that use MethodParameter
Package
Description
This package contains interfaces and classes for manipulating Java beans.
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
SPI interfaces and configuration-related convenience classes for bean factories.
Provides basic classes for exception handling and version detection,
 and other core helpers that are not specific to any part of the framework.
Core support package for annotations, meta-annotations, and merged
 annotations with attribute overrides.
Type conversion system API.
JSON encoder and decoder support.
Provides support for accessing remote MBean resources.
Basic abstractions for working with message handler methods.
Support classes for working with annotated message-handling methods with
 non-blocking, reactive contracts.
Support classes for working with annotated message-handling methods.
Common infrastructure for invoking message handler methods.
Common infrastructure for invoking message handler methods with non-blocking,
 and reactive contracts.
Support classes for working with annotated RSocket stream handling methods.
Support classes for handling messages from simple messaging protocols
 (like STOMP).
Provides data binding and validation functionality,
 for usage in business and/or UI layers.
Provides web-specific data binding functionality.
Support classes for web data binding.
Common infrastructure for handler method processing, as used by
 Spring MVC's 
org.springframework.web.servlet.mvc.method package.Support classes for annotation-based handler method processing.
Generic support classes for handler method processing.
Support classes for the multipart resolution framework.
Top-level package for the 
spring-webflux module that contains
 DispatcherHandler, the main entry
 point for WebFlux server endpoint processing including key contracts used to
 map requests to handlers, invoke them, and process the result.Infrastructure for handler method processing.
Infrastructure for annotation-based handler method processing.
Core interfaces and classes for Spring's generic, reactive web support.
MVC infrastructure for annotation-based handler method processing, building on the
 
org.springframework.web.method.annotation package.- 
Uses of MethodParameter in org.springframework.beansMethods in org.springframework.beans that return MethodParameterModifier and TypeMethodDescriptionstatic MethodParameterBeanUtils.getWriteMethodParameter(PropertyDescriptor pd) Obtain a new MethodParameter object for the write method of the specified property.Methods in org.springframework.beans with parameters of type MethodParameterModifier and TypeMethodDescription<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) 
- 
Uses of MethodParameter in org.springframework.beans.factoryFields in org.springframework.beans.factory declared as MethodParameterMethods in org.springframework.beans.factory that return MethodParameterModifier and TypeMethodDescriptionInjectionPoint.getMethodParameter()Return the wrapped MethodParameter, if any.protected final MethodParameterInjectionPoint.obtainMethodParameter()Return the wrapped MethodParameter, assuming it is present.Constructors in org.springframework.beans.factory with parameters of type MethodParameterModifierConstructorDescriptionInjectionPoint(MethodParameter methodParameter) Create an injection point descriptor for a method or constructor parameter.
- 
Uses of MethodParameter in org.springframework.beans.factory.configConstructors in org.springframework.beans.factory.config with parameters of type MethodParameterModifierConstructorDescriptionDependencyDescriptor(MethodParameter methodParameter, boolean required) Create a new descriptor for a method or constructor parameter.DependencyDescriptor(MethodParameter methodParameter, boolean required, boolean eager) Create a new descriptor for a method or constructor parameter.
- 
Uses of MethodParameter in org.springframework.coreMethods in org.springframework.core that return MethodParameterModifier and TypeMethodDescriptionMethodParameter.clone()static MethodParameterMethodParameter.forExecutable(Executable executable, int parameterIndex) Create a new MethodParameter for the given method or constructor.static MethodParameterMethodParameter.forMethodOrConstructor(Object methodOrConstructor, int parameterIndex) Deprecated.static MethodParameterMethodParameter.forParameter(Parameter parameter) Create a new MethodParameter for the given parameter descriptor.MethodParameter.nested()Return a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper.Return a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper.MethodParameter.nestedIfOptional()Return a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper in case of aOptionaldeclaration.MethodParameter.withContainingClass(Class<?> containingClass) Return a variant of thisMethodParameterwhich refers to the given containing class.MethodParameter.withTypeIndex(int typeIndex) Return a variant of thisMethodParameterwith the type for the current level set to the specified value.Methods in org.springframework.core with parameters of type MethodParameterModifier and TypeMethodDescriptionstatic ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter) Return aResolvableTypefor the specifiedMethodParameter.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, Type targetType) Return aResolvableTypefor the specifiedMethodParameter, overriding the target type to resolve with a specific given type.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, ResolvableType implementationType) Return aResolvableTypefor the specifiedMethodParameterwith a given implementation type.static StringConventions.getVariableNameForParameter(MethodParameter parameter) Determine the conventional variable name for the given parameter taking the generic collection type, if any, into account.static Class<?>GenericTypeResolver.resolveParameterType(MethodParameter methodParameter, Class<?> implementationClass) Deprecated.since 5.2 in favor ofmethodParameter.withContainingClass(implementationClass).getParameterType()Constructors in org.springframework.core with parameters of type MethodParameterModifierConstructorDescriptionMethodParameter(MethodParameter original) Copy constructor, resulting in an independent MethodParameter object based on the same metadata and cache state that the original object was in.
- 
Uses of MethodParameter in org.springframework.core.annotationSubclasses of MethodParameter in org.springframework.core.annotationModifier and TypeClassDescriptionclassAMethodParametervariant which synthesizes annotations that declare attribute aliases via@AliasFor.
- 
Uses of MethodParameter in org.springframework.core.convertMethods in org.springframework.core.convert with parameters of type MethodParameterModifier and TypeMethodDescriptionstatic TypeDescriptorTypeDescriptor.nested(MethodParameter methodParameter, int nestingLevel) Create a type descriptor for a nested type declared within the method parameter.Constructors in org.springframework.core.convert with parameters of type MethodParameterModifierConstructorDescriptionTypeDescriptor(MethodParameter methodParameter) Create a new type descriptor from aMethodParameter.
- 
Uses of MethodParameter in org.springframework.http.codec.jsonMethods in org.springframework.http.codec.json that return MethodParameterModifier and TypeMethodDescriptionprotected MethodParameterJackson2CodecSupport.getParameter(ResolvableType type) Methods in org.springframework.http.codec.json with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected <A extends Annotation>
 AAbstractJackson2Decoder.getAnnotation(MethodParameter parameter, Class<A> annotType) protected <A extends Annotation>
 AAbstractJackson2Encoder.getAnnotation(MethodParameter parameter, Class<A> annotType) protected abstract <A extends Annotation>
 AJackson2CodecSupport.getAnnotation(MethodParameter parameter, Class<A> annotType) 
- 
Uses of MethodParameter in org.springframework.jmx.accessMethods in org.springframework.jmx.access with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected ObjectMBeanClientInterceptor.convertResultValueIfNecessary(Object result, MethodParameter parameter) Convert the given result object (from attribute access or operation invocation) to the specified target class for returning from the proxy method.
- 
Uses of MethodParameter in org.springframework.messaging.handlerSubclasses of MethodParameter in org.springframework.messaging.handlerModifier and TypeClassDescriptionprotected classA MethodParameter with HandlerMethod-specific behavior.Methods in org.springframework.messaging.handler that return MethodParameterModifier and TypeMethodDescriptionHandlerMethod.getMethodParameters()Return the method parameters for this handler method.HandlerMethod.getReturnType()Return the HandlerMethod return type.HandlerMethod.getReturnValueType(Object returnValue) Return the actual return value type.Methods in org.springframework.messaging.handler with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected static ObjectHandlerMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) protected static StringHandlerMethod.formatArgumentError(MethodParameter param, String message) 
- 
Uses of MethodParameter in org.springframework.messaging.handler.annotation.reactiveMethods in org.springframework.messaging.handler.annotation.reactive with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected abstract AbstractNamedValueMethodArgumentResolver.NamedValueInfoAbstractNamedValueMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) Create theAbstractNamedValueMethodArgumentResolver.NamedValueInfoobject for the given method parameter.DestinationVariableMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) HeaderMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) protected abstract voidAbstractNamedValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter, Message<?> message) Invoked when a value is required, butAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(org.springframework.core.MethodParameter, org.springframework.messaging.Message<?>, java.lang.String)returnednulland there is no default value.protected voidDestinationVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter, Message<?> message) protected voidHeaderMethodArgumentResolver.handleMissingValue(String headerName, MethodParameter parameter, Message<?> message) reactor.core.publisher.Mono<Object>ContinuationHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) final reactor.core.publisher.Mono<Object>PayloadMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) Decode the content of the given message payload through a compatibleDecoder.protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Resolves the given parameter type and value name into an argument value.protected ObjectDestinationVariableMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) protected ObjectHeaderMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) AbstractNamedValueMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) HeadersMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) booleanContinuationHandlerMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanDestinationVariableMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanHeaderMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanHeadersMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanPayloadMethodArgumentResolver.supportsParameter(MethodParameter parameter) 
- 
Uses of MethodParameter in org.springframework.messaging.handler.annotation.supportMethods in org.springframework.messaging.handler.annotation.support with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected abstract AbstractNamedValueMethodArgumentResolver.NamedValueInfoAbstractNamedValueMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) Create theAbstractNamedValueMethodArgumentResolver.NamedValueInfoobject for the given method parameter.DestinationVariableMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) HeaderMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) protected Class<?>MessageMethodArgumentResolver.getPayloadType(MethodParameter parameter, Message<?> message) Resolve the target class to convert the payload to.protected abstract voidAbstractNamedValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter, Message<?> message) Invoked when a value is required, butAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(org.springframework.core.MethodParameter, org.springframework.messaging.Message<?>, java.lang.String)returnednulland there is no default value.protected voidDestinationVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter, Message<?> message) protected voidHeaderMethodArgumentResolver.handleMissingValue(String headerName, MethodParameter parameter, Message<?> message) protected voidAbstractNamedValueMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Message<?> message) Invoked after a value is resolved.AbstractNamedValueMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) HeadersMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) MessageMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) PayloadMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Resolves the given parameter type and value name into an argument value.protected ObjectDestinationVariableMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) protected ObjectHeaderMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) protected Class<?>PayloadMethodArgumentResolver.resolveTargetClass(MethodParameter parameter, Message<?> message) Resolve the target class to convert the payload to.booleanDestinationVariableMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanHeaderMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanHeadersMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanMessageMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanPayloadMethodArgumentResolver.supportsParameter(MethodParameter parameter) protected voidPayloadMethodArgumentResolver.validate(Message<?> message, MethodParameter parameter, Object target) Validate the payload if applicable.Constructors in org.springframework.messaging.handler.annotation.support with parameters of type MethodParameterModifierConstructorDescriptionMethodArgumentNotValidException(Message<?> message, MethodParameter parameter) Create a new instance with the invalidMethodParameter.MethodArgumentNotValidException(Message<?> message, MethodParameter parameter, BindingResult bindingResult) Create a new instance with the invalidMethodParameterand aBindingResult.MethodArgumentTypeMismatchException(Message<?> message, MethodParameter parameter, String description) 
- 
Uses of MethodParameter in org.springframework.messaging.handler.invocationMethods in org.springframework.messaging.handler.invocation that return MethodParameterModifier and TypeMethodDescriptionfinal MethodParameterMethodArgumentResolutionException.getMethodParameter()Return the MethodParameter that was rejected.Methods in org.springframework.messaging.handler.invocation with parameters of type MethodParameterModifier and TypeMethodDescriptionvoidAbstractAsyncReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidHandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Handle the given return value.voidHandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) booleanAbstractAsyncReturnValueHandler.isAsyncReturnValue(Object returnValue, MethodParameter returnType) booleanAsyncHandlerMethodReturnValueHandler.isAsyncReturnValue(Object returnValue, MethodParameter returnType) Whether the return value represents an asynchronous, Future-like type with success and error callbacks.booleanHandlerMethodReturnValueHandlerComposite.isAsyncReturnValue(Object returnValue, MethodParameter returnType) booleanReactiveReturnValueHandler.isAsyncReturnValue(Object returnValue, MethodParameter returnType) HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) Resolves a method parameter into an argument value from a given message.HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, Message<?> message) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.booleanHandlerMethodArgumentResolver.supportsParameter(MethodParameter parameter) Whether the given method parameter is supported by this resolver.booleanHandlerMethodArgumentResolverComposite.supportsParameter(MethodParameter parameter) Whether the given method parameter is supported by any registeredHandlerMethodArgumentResolver.booleanCompletableFutureReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanHandlerMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) Whether the given method return type is supported by this handler.booleanHandlerMethodReturnValueHandlerComposite.supportsReturnType(MethodParameter returnType) booleanListenableFutureReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanReactiveReturnValueHandler.supportsReturnType(MethodParameter returnType) AsyncHandlerMethodReturnValueHandler.toListenableFuture(Object returnValue, MethodParameter returnType) Adapt the asynchronous return value to aListenableFuture.CompletableFutureReturnValueHandler.toListenableFuture(Object returnValue, MethodParameter returnType) HandlerMethodReturnValueHandlerComposite.toListenableFuture(Object returnValue, MethodParameter returnType) ListenableFutureReturnValueHandler.toListenableFuture(Object returnValue, MethodParameter returnType) ReactiveReturnValueHandler.toListenableFuture(Object returnValue, MethodParameter returnType) Constructors in org.springframework.messaging.handler.invocation with parameters of type MethodParameterModifierConstructorDescriptionMethodArgumentResolutionException(Message<?> message, MethodParameter parameter) Create a new instance providing the invalidMethodParameter.MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description) Create a new instance providing the invalidMethodParameterand a prepared description.MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description, Throwable cause) Create a new instance providing the invalidMethodParameter, prepared description, and a cause.
- 
Uses of MethodParameter in org.springframework.messaging.handler.invocation.reactiveMethods in org.springframework.messaging.handler.invocation.reactive with parameters of type MethodParameterModifier and TypeMethodDescriptionHandlerMethodArgumentResolverComposite.getArgumentResolver(MethodParameter parameter) Find a registeredHandlerMethodArgumentResolverthat supports the given method parameter.protected abstract reactor.core.publisher.Mono<Void>AbstractEncoderMethodReturnValueHandler.handleEncodedContent(reactor.core.publisher.Flux<DataBuffer> encodedContent, MethodParameter returnType, Message<?> message) Subclasses implement this method to handle encoded values in some way such as creating and sending messages.protected abstract reactor.core.publisher.Mono<Void>AbstractEncoderMethodReturnValueHandler.handleNoContent(MethodParameter returnType, Message<?> message) Invoked for anullreturn value, which could mean a void method or method returning an async type parameterized by void.reactor.core.publisher.Mono<Void>AbstractEncoderMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) reactor.core.publisher.Mono<Void>HandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Handle the given return value.reactor.core.publisher.Mono<Void>HandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) reactor.core.publisher.Mono<Object>HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) Resolves a method parameter into an argument value from a given message.reactor.core.publisher.Mono<Object>HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, Message<?> message) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.default reactor.core.publisher.Mono<Object>SyncHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) Resolves a method parameter into an argument value from a given message.SyncHandlerMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) Resolve the value for the method parameter synchronously.booleanHandlerMethodArgumentResolver.supportsParameter(MethodParameter parameter) Whether the given method parameter is supported by this resolver.booleanHandlerMethodArgumentResolverComposite.supportsParameter(MethodParameter parameter) Whether the given method parameter is supported by any registeredHandlerMethodArgumentResolver.booleanAbstractEncoderMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanHandlerMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) Whether the given method return type is supported by this handler.booleanHandlerMethodReturnValueHandlerComposite.supportsReturnType(MethodParameter returnType) 
- 
Uses of MethodParameter in org.springframework.messaging.rsocket.annotation.supportMethods in org.springframework.messaging.rsocket.annotation.support with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>RSocketPayloadReturnValueHandler.handleEncodedContent(reactor.core.publisher.Flux<DataBuffer> encodedContent, MethodParameter returnType, Message<?> message) protected reactor.core.publisher.Mono<Void>RSocketPayloadReturnValueHandler.handleNoContent(MethodParameter returnType, Message<?> message) reactor.core.publisher.Mono<Object>RSocketRequesterMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) booleanRSocketRequesterMethodArgumentResolver.supportsParameter(MethodParameter parameter) 
- 
Uses of MethodParameter in org.springframework.messaging.simp.annotation.supportMethods in org.springframework.messaging.simp.annotation.support with parameters of type MethodParameterModifier and TypeMethodDescriptionvoidSendToMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidSubscriptionMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) PrincipalMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) booleanPrincipalMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanSendToMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanSubscriptionMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) 
- 
Uses of MethodParameter in org.springframework.validationMethods in org.springframework.validation with parameters of type MethodParameterModifier and TypeMethodDescription<T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) 
- 
Uses of MethodParameter in org.springframework.web.bindMethods in org.springframework.web.bind that return MethodParameterModifier and TypeMethodDescriptionfinal MethodParameterMethodArgumentNotValidException.getParameter()Return the method parameter that failed validation.final MethodParameterMissingMatrixVariableException.getParameter()Return the method parameter bound to the matrix variable.final MethodParameterMissingPathVariableException.getParameter()Return the method parameter bound to the path variable.final MethodParameterMissingRequestCookieException.getParameter()Return the method parameter bound to the request cookie.final MethodParameterMissingRequestHeaderException.getParameter()Return the method parameter bound to the request header.Constructors in org.springframework.web.bind with parameters of type MethodParameterModifierConstructorDescriptionMethodArgumentNotValidException(MethodParameter parameter, BindingResult bindingResult) Constructor forMethodArgumentNotValidException.MissingMatrixVariableException(String variableName, MethodParameter parameter) Constructor for MissingMatrixVariableException.MissingMatrixVariableException(String variableName, MethodParameter parameter, boolean missingAfterConversion) Constructor for use when a value was present but converted tonull.MissingPathVariableException(String variableName, MethodParameter parameter) Constructor for MissingPathVariableException.MissingPathVariableException(String variableName, MethodParameter parameter, boolean missingAfterConversion) Constructor for use when a value was present but converted tonull.MissingRequestCookieException(String cookieName, MethodParameter parameter) Constructor for MissingRequestCookieException.MissingRequestCookieException(String cookieName, MethodParameter parameter, boolean missingAfterConversion) Constructor for use when a value was present but converted tonull.MissingRequestHeaderException(String headerName, MethodParameter parameter) Constructor for MissingRequestHeaderException.MissingRequestHeaderException(String headerName, MethodParameter parameter, boolean missingAfterConversion) Constructor for use when a value was present but converted tonull.
- 
Uses of MethodParameter in org.springframework.web.bind.supportMethods in org.springframework.web.bind.support with parameters of type MethodParameterModifier and TypeMethodDescriptionWebArgumentResolver.resolveArgument(MethodParameter methodParameter, NativeWebRequest webRequest) Resolve an argument for the given handler method parameter within the given web request.Constructors in org.springframework.web.bind.support with parameters of type MethodParameterModifierConstructorDescriptionWebExchangeBindException(MethodParameter parameter, BindingResult bindingResult) 
- 
Uses of MethodParameter in org.springframework.web.methodSubclasses of MethodParameter in org.springframework.web.methodModifier and TypeClassDescriptionprotected classA MethodParameter with HandlerMethod-specific behavior.Methods in org.springframework.web.method that return MethodParameterModifier and TypeMethodDescriptionHandlerMethod.getMethodParameters()Return the method parameters for this handler method.HandlerMethod.getReturnType()Return the HandlerMethod return type.HandlerMethod.getReturnValueType(Object returnValue) Return the actual return value type.Methods in org.springframework.web.method with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected static ObjectHandlerMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) protected static StringHandlerMethod.formatArgumentError(MethodParameter param, String message) 
- 
Uses of MethodParameter in org.springframework.web.method.annotationMethods in org.springframework.web.method.annotation that return MethodParameterModifier and TypeMethodDescriptionMethodArgumentConversionNotSupportedException.getParameter()Return the target method parameter.MethodArgumentTypeMismatchException.getParameter()Return the target method parameter.Methods in org.springframework.web.method.annotation with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected ObjectModelAttributeMethodProcessor.constructAttribute(Constructor<?> ctor, String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest webRequest) Construct a new attribute instance with the given constructor.voidRequestParamMethodArgumentResolver.contributeMethodArgument(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) protected ObjectModelAttributeMethodProcessor.createAttribute(String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest webRequest) Extension point to create the model attribute if not found in the model, with subsequent parameter binding through bean properties (unless suppressed).AbstractCookieValueMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) protected abstract AbstractNamedValueMethodArgumentResolver.NamedValueInfoAbstractNamedValueMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) Create theAbstractNamedValueMethodArgumentResolver.NamedValueInfoobject for the given method parameter.ExpressionValueMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) RequestHeaderMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) RequestParamMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) static StringModelFactory.getNameForParameter(MethodParameter parameter) Derive the model attribute name for the given method parameter based on a@ModelAttributeparameter annotation (if present) or falling back on parameter type based conventions.static StringModelFactory.getNameForReturnValue(Object returnValue, MethodParameter returnType) Derive the model attribute name for the given return value.protected voidAbstractCookieValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidAbstractNamedValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) Invoked when a named value is required, butAbstractNamedValueMethodArgumentResolver.resolveName(String, MethodParameter, NativeWebRequest)returnednulland there is no default value.protected voidAbstractNamedValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter, NativeWebRequest request) Invoked when a named value is required, butAbstractNamedValueMethodArgumentResolver.resolveName(String, MethodParameter, NativeWebRequest)returnednulland there is no default value.protected voidExpressionValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidRequestHeaderMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidRequestParamMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter, NativeWebRequest request) protected voidAbstractCookieValueMethodArgumentResolver.handleMissingValueAfterConversion(String name, MethodParameter parameter, NativeWebRequest request) protected voidAbstractNamedValueMethodArgumentResolver.handleMissingValueAfterConversion(String name, MethodParameter parameter, NativeWebRequest request) Invoked when a named value is present but becomesnullafter conversion.protected voidRequestHeaderMethodArgumentResolver.handleMissingValueAfterConversion(String name, MethodParameter parameter, NativeWebRequest request) protected voidRequestParamMethodArgumentResolver.handleMissingValueAfterConversion(String name, MethodParameter parameter, NativeWebRequest request) protected voidRequestParamMethodArgumentResolver.handleMissingValueInternal(String name, MethodParameter parameter, NativeWebRequest request, boolean missingAfterConversion) protected voidAbstractNamedValueMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Invoked after a value is resolved.voidMapMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidModelAttributeMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Add non-null return values to theModelAndViewContainer.voidModelMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) protected booleanModelAttributeMethodProcessor.isBindExceptionRequired(MethodParameter parameter) Whether to raise a fatal bind exception on validation errors.protected booleanModelAttributeMethodProcessor.isBindExceptionRequired(WebDataBinder binder, MethodParameter parameter) Whether to raise a fatal bind exception on validation errors.final ObjectAbstractNamedValueMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) AbstractWebArgumentResolverAdapter.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Delegate to theWebArgumentResolverinstance.ErrorsMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MapMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) final ObjectModelAttributeMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolve the argument from the model or if not found instantiate it with its default if it is available.ModelMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestHeaderMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestParamMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SessionStatusMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) Resolve the given parameter type and value name into an argument value.protected ObjectExpressionValueMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest webRequest) protected ObjectRequestHeaderMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectRequestParamMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) booleanAbstractCookieValueMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanAbstractWebArgumentResolverAdapter.supportsParameter(MethodParameter parameter) Actually resolve the value and check the resolved value is notWebArgumentResolver.UNRESOLVEDabsorbing _any_ exceptions.booleanErrorsMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanExpressionValueMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanMapMethodProcessor.supportsParameter(MethodParameter parameter) booleanModelAttributeMethodProcessor.supportsParameter(MethodParameter parameter) Returnstrueif the parameter is annotated withModelAttributeor, if in default resolution mode, for any method parameter that is not a simple type.booleanModelMethodProcessor.supportsParameter(MethodParameter parameter) booleanRequestHeaderMapMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRequestHeaderMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRequestParamMapMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRequestParamMethodArgumentResolver.supportsParameter(MethodParameter parameter) Supports the following: @RequestParam-annotated method arguments.booleanSessionStatusMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanMapMethodProcessor.supportsReturnType(MethodParameter returnType) booleanModelAttributeMethodProcessor.supportsReturnType(MethodParameter returnType) Returntrueif there is a method-level@ModelAttributeor, in default resolution mode, for any return value type that is not a simple type.booleanModelMethodProcessor.supportsReturnType(MethodParameter returnType) protected voidModelAttributeMethodProcessor.validateIfApplicable(WebDataBinder binder, MethodParameter parameter) Validate the model attribute if applicable.protected voidModelAttributeMethodProcessor.validateValueIfApplicable(WebDataBinder binder, MethodParameter parameter, Class<?> targetType, String fieldName, Object value) Validate the specified candidate value if applicable.Constructors in org.springframework.web.method.annotation with parameters of type MethodParameterModifierConstructorDescriptionMethodArgumentConversionNotSupportedException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause) MethodArgumentTypeMismatchException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause) 
- 
Uses of MethodParameter in org.springframework.web.method.supportMethods in org.springframework.web.method.support with parameters of type MethodParameterModifier and TypeMethodDescriptionvoidCompositeUriComponentsContributor.contributeMethodArgument(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables) An overloaded method that uses the ConversionService created at construction.voidCompositeUriComponentsContributor.contributeMethodArgument(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) voidUriComponentsContributor.contributeMethodArgument(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) Process the given method argument and either update theUriComponentsBuilderor add to the map with URI variables to use to expand the URI after all arguments are processed.voidHandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Handle the given return value by adding attributes to the model and setting a view or setting theModelAndViewContainer.setRequestHandled(boolean)flag totrueto indicate the response has been handled directly.voidHandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Iterate over registeredHandlerMethodReturnValueHandlersand invoke the one that supports it.booleanAsyncHandlerMethodReturnValueHandler.isAsyncReturnValue(Object returnValue, MethodParameter returnType) Whether the given return value represents asynchronous computation.HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolves a method parameter into an argument value from a given request.HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.booleanCompositeUriComponentsContributor.supportsParameter(MethodParameter parameter) booleanHandlerMethodArgumentResolver.supportsParameter(MethodParameter parameter) Whether the given method parameter is supported by this resolver.booleanHandlerMethodArgumentResolverComposite.supportsParameter(MethodParameter parameter) Whether the given method parameter is supported by any registeredHandlerMethodArgumentResolver.booleanUriComponentsContributor.supportsParameter(MethodParameter parameter) Whether this contributor supports the given method parameter.booleanHandlerMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) Whether the given method return type is supported by this handler.booleanHandlerMethodReturnValueHandlerComposite.supportsReturnType(MethodParameter returnType) Whether the given method return type is supported by any registeredHandlerMethodReturnValueHandler.
- 
Uses of MethodParameter in org.springframework.web.multipart.supportMethods in org.springframework.web.multipart.support with parameters of type MethodParameterModifier and TypeMethodDescriptionstatic booleanMultipartResolutionDelegate.isMultipartArgument(MethodParameter parameter) static ObjectMultipartResolutionDelegate.resolveMultipartArgument(String name, MethodParameter parameter, HttpServletRequest request) 
- 
Uses of MethodParameter in org.springframework.web.reactiveMethods in org.springframework.web.reactive that return MethodParameterModifier and TypeMethodDescriptionHandlerResult.getReturnTypeSource()Return theMethodParameterfrom whichreturnTypewas created.Constructors in org.springframework.web.reactive with parameters of type MethodParameterModifierConstructorDescriptionHandlerResult(Object handler, Object returnValue, MethodParameter returnType) Create a newHandlerResult.HandlerResult(Object handler, Object returnValue, MethodParameter returnType, BindingContext context) Create a newHandlerResult.
- 
Uses of MethodParameter in org.springframework.web.reactive.result.methodMethods in org.springframework.web.reactive.result.method with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected <A extends Annotation>
 booleanHandlerMethodArgumentResolverSupport.checkAnnotatedParamNoReactiveWrapper(MethodParameter parameter, Class<A> annotationType, BiPredicate<A, Class<?>> typePredicate) Evaluate thePredicateon the method parameter type if it has the given annotation, nesting withinOptionalif necessary, but raise anIllegalStateExceptionif the same matches the generic type within a reactive type wrapper.protected booleanHandlerMethodArgumentResolverSupport.checkParameterType(MethodParameter parameter, Predicate<Class<?>> predicate) Evaluate thePredicateon the method parameter type or on the generic type within a reactive type wrapper.protected booleanHandlerMethodArgumentResolverSupport.checkParameterTypeNoReactiveWrapper(MethodParameter parameter, Predicate<Class<?>> predicate) Evaluate thePredicateon the method parameter type but raise anIllegalStateExceptionif the same matches the generic type within a reactive type wrapper.reactor.core.publisher.Mono<Object>HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Resolve the value for the method parameter.default reactor.core.publisher.Mono<Object>SyncHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Resolve the value for the method parameter.SyncHandlerMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Resolve the value for the method parameter synchronously.booleanHandlerMethodArgumentResolver.supportsParameter(MethodParameter parameter) Whether this resolver supports the given method parameter.
- 
Uses of MethodParameter in org.springframework.web.reactive.result.method.annotationMethods in org.springframework.web.reactive.result.method.annotation with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected abstract AbstractNamedValueArgumentResolver.NamedValueInfoAbstractNamedValueArgumentResolver.createNamedValueInfo(MethodParameter parameter) Create theAbstractNamedValueArgumentResolver.NamedValueInfoobject for the given method parameter.CookieValueMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) ExpressionValueMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) MatrixVariableMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) PathVariableMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) RequestAttributeMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) RequestHeaderMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) RequestParamMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) SessionAttributeMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) reactor.core.publisher.Flux<Part>RequestPartMethodArgumentResolver.getPartValues(MethodParameter parameter, RequestPart requestPart, boolean isRequired, ServerWebExchange exchange) protected voidAbstractNamedValueArgumentResolver.handleMissingValue(String name, MethodParameter parameter) Invoked when a named value is required, butAbstractNamedValueArgumentResolver.resolveName(String, MethodParameter, ServerWebExchange)returnednulland there is no default value.protected voidAbstractNamedValueArgumentResolver.handleMissingValue(String name, MethodParameter parameter, ServerWebExchange exchange) Invoked when a named value is required, butAbstractNamedValueArgumentResolver.resolveName(String, MethodParameter, ServerWebExchange)returnednulland there is no default value.protected voidCookieValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidExpressionValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidMatrixVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidPathVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidRequestAttributeMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidRequestHeaderMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidRequestParamMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter, ServerWebExchange exchange) protected voidSessionAttributeMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidAbstractNamedValueArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange) Invoked after a value is resolved.protected voidPathVariableMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange) protected reactor.core.publisher.Mono<Object>AbstractMessageReaderArgumentResolver.readBody(MethodParameter bodyParameter, boolean isBodyRequired, BindingContext bindingContext, ServerWebExchange exchange) Read the body from a method argument withHttpMessageReader.protected reactor.core.publisher.Mono<Object>AbstractMessageReaderArgumentResolver.readBody(MethodParameter bodyParam, MethodParameter actualParam, boolean isBodyRequired, BindingContext bindingContext, ServerWebExchange exchange) Read the body from a method argument withHttpMessageReader.reactor.core.publisher.Mono<Object>AbstractNamedValueArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>AbstractNamedValueSyncArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>ContinuationHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>ErrorsMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>HttpEntityMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>ModelAttributeMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>PrincipalMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>RequestBodyMethodArgumentResolver.resolveArgument(MethodParameter param, BindingContext bindingContext, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>RequestPartMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) reactor.core.publisher.Mono<Object>WebSessionMethodArgumentResolver.resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange) AbstractNamedValueSyncArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext context, ServerWebExchange exchange) MatrixVariableMapMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) ModelMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext context, ServerWebExchange exchange) PathVariableMapMethodArgumentResolver.resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange) RequestHeaderMapMethodArgumentResolver.resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange) RequestParamMapMethodArgumentResolver.resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange) ServerWebExchangeMethodArgumentResolver.resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange) SessionStatusMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) protected abstract reactor.core.publisher.Mono<Object>AbstractNamedValueArgumentResolver.resolveName(String name, MethodParameter parameter, ServerWebExchange exchange) Resolve the given parameter type and value name into an argument value.protected final reactor.core.publisher.Mono<Object>AbstractNamedValueSyncArgumentResolver.resolveName(String name, MethodParameter param, ServerWebExchange exchange) protected reactor.core.publisher.Mono<Object>SessionAttributeMethodArgumentResolver.resolveName(String name, MethodParameter parameter, ServerWebExchange exchange) protected abstract ObjectAbstractNamedValueSyncArgumentResolver.resolveNamedValue(String name, MethodParameter param, ServerWebExchange exchange) Actually resolve the value synchronously.protected ObjectCookieValueMethodArgumentResolver.resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange) protected ObjectExpressionValueMethodArgumentResolver.resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange) protected ObjectMatrixVariableMethodArgumentResolver.resolveNamedValue(String name, MethodParameter param, ServerWebExchange exchange) protected ObjectPathVariableMethodArgumentResolver.resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange) protected ObjectRequestAttributeMethodArgumentResolver.resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange) protected ObjectRequestHeaderMethodArgumentResolver.resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange) protected ObjectRequestParamMethodArgumentResolver.resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange) booleanContinuationHandlerMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanCookieValueMethodArgumentResolver.supportsParameter(MethodParameter param) booleanErrorsMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanExpressionValueMethodArgumentResolver.supportsParameter(MethodParameter param) booleanHttpEntityMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanMatrixVariableMapMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanMatrixVariableMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanModelAttributeMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanModelMethodArgumentResolver.supportsParameter(MethodParameter param) booleanPathVariableMapMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanPathVariableMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanPrincipalMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRequestAttributeMethodArgumentResolver.supportsParameter(MethodParameter param) booleanRequestBodyMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRequestHeaderMapMethodArgumentResolver.supportsParameter(MethodParameter param) booleanRequestHeaderMethodArgumentResolver.supportsParameter(MethodParameter param) booleanRequestParamMapMethodArgumentResolver.supportsParameter(MethodParameter param) booleanRequestParamMethodArgumentResolver.supportsParameter(MethodParameter param) booleanRequestPartMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanServerWebExchangeMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanSessionAttributeMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanSessionStatusMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanWebSessionMethodArgumentResolver.supportsParameter(MethodParameter parameter) protected reactor.core.publisher.Mono<Void>AbstractMessageWriterResultHandler.writeBody(Object body, MethodParameter bodyParameter, MethodParameter actualParam, ServerWebExchange exchange) Write a given body to the response withHttpMessageWriter.protected reactor.core.publisher.Mono<Void>AbstractMessageWriterResultHandler.writeBody(Object body, MethodParameter bodyParameter, ServerWebExchange exchange) Write a given body to the response withHttpMessageWriter.
- 
Uses of MethodParameter in org.springframework.web.serverMethods in org.springframework.web.server that return MethodParameterModifier and TypeMethodDescriptionServerErrorException.getMethodParameter()Return the specific method parameter associated with the error, if any.ServerWebInputException.getMethodParameter()Return theMethodParameterassociated with this error, if any.Constructors in org.springframework.web.server with parameters of type MethodParameterModifierConstructorDescriptionServerErrorException(String reason, MethodParameter parameter, Throwable cause) Constructor for a 500 error with aMethodParameterand an optional cause.ServerWebInputException(String reason, MethodParameter parameter) Constructor for a 400 error linked to a specificMethodParameter.ServerWebInputException(String reason, MethodParameter parameter, Throwable cause) Constructor for a 400 error with a root cause.
- 
Uses of MethodParameter in org.springframework.web.servlet.mvc.method.annotationMethods in org.springframework.web.servlet.mvc.method.annotation with parameters of type MethodParameterModifier and TypeMethodDescriptionprotected ObjectAbstractMessageConverterMethodArgumentResolver.adaptArgumentIfNecessary(Object arg, MethodParameter parameter) Adapt the given argument against the method parameter, if necessary.RequestBodyAdvice.afterBodyRead(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) Invoked third (and last) after the request body is converted to an Object.RequestBodyAdviceAdapter.afterBodyRead(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) The default implementation returns the body that was passed in.JsonViewRequestBodyAdvice.beforeBodyRead(HttpInputMessage inputMessage, MethodParameter methodParameter, Type targetType, Class<? extends HttpMessageConverter<?>> selectedConverterType) RequestBodyAdvice.beforeBodyRead(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) Invoked second before the request body is read and converted.RequestBodyAdviceAdapter.beforeBodyRead(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) The default implementation returns the InputMessage that was passed in.final ObjectAbstractMappingJacksonResponseBodyAdvice.beforeBodyWrite(Object body, MethodParameter returnType, MediaType contentType, Class<? extends HttpMessageConverter<?>> converterType, ServerHttpRequest request, ServerHttpResponse response) ResponseBodyAdvice.beforeBodyWrite(T body, MethodParameter returnType, MediaType selectedContentType, Class<? extends HttpMessageConverter<?>> selectedConverterType, ServerHttpRequest request, ServerHttpResponse response) Invoked after anHttpMessageConverteris selected and just before its write method is invoked.protected abstract voidAbstractMappingJacksonResponseBodyAdvice.beforeBodyWriteInternal(MappingJacksonValue bodyContainer, MediaType contentType, MethodParameter returnType, ServerHttpRequest request, ServerHttpResponse response) Invoked only if the converter type isMappingJackson2HttpMessageConverter.protected voidJsonViewResponseBodyAdvice.beforeBodyWriteInternal(MappingJacksonValue bodyContainer, MediaType contentType, MethodParameter returnType, ServerHttpRequest request, ServerHttpResponse response) protected booleanRequestResponseBodyMethodProcessor.checkRequired(MethodParameter parameter) voidPathVariableMethodArgumentResolver.contributeMethodArgument(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) protected final ObjectServletModelAttributeMethodProcessor.createAttribute(String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) Instantiate the model attribute from a URI template variable or from a request parameter if the name matches to the model attribute name and if there is an appropriate type conversion strategy.protected ObjectServletModelAttributeMethodProcessor.createAttributeFromRequestValue(String sourceValue, String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) Create a model attribute from a String request value (e.g.MatrixVariableMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) PathVariableMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) RequestAttributeMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) SessionAttributeMethodArgumentResolver.createNamedValueInfo(MethodParameter parameter) protected Class<?>AbstractMessageConverterMethodProcessor.getReturnValueType(Object value, MethodParameter returnType) Return the type of the value to be written to the response.protected Class<?>HttpEntityMethodProcessor.getReturnValueType(Object returnValue, MethodParameter returnType) RequestBodyAdvice.handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) Invoked second (and last) if the body is empty.RequestBodyAdviceAdapter.handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) The default implementation returns the body that was passed in.protected voidMatrixVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidPathVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidRequestAttributeMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidSessionAttributeMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidMatrixVariableMethodArgumentResolver.handleMissingValueAfterConversion(String name, MethodParameter parameter, NativeWebRequest request) protected voidPathVariableMethodArgumentResolver.handleMissingValueAfterConversion(String name, MethodParameter parameter, NativeWebRequest request) protected voidPathVariableMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request) voidAsyncTaskMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidCallableMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidDeferredResultMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidHttpEntityMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidHttpHeadersReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidModelAndViewMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidModelAndViewResolverMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidRequestResponseBodyMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidResponseBodyEmitterReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidStreamingResponseBodyReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidViewMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidViewNameMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) protected booleanAbstractMessageConverterMethodArgumentResolver.isBindExceptionRequired(WebDataBinder binder, MethodParameter parameter) Whether to raise a fatal bind exception on validation errors.protected booleanAbstractMessageConverterMethodProcessor.isResourceType(Object value, MethodParameter returnType) Return whether the returned value or the declared return type extendsResource.protected <T> ObjectAbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType) Create the method argument value of the expected parameter type by reading from the given HttpInputMessage.protected <T> ObjectAbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter, Type paramType) Create the method argument value of the expected parameter type by reading from the given request.protected <T> ObjectRequestResponseBodyMethodProcessor.readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter, Type paramType) ContinuationHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) HttpEntityMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MatrixVariableMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) PathVariableMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Return a Map with all URI template variables or an empty map.PrincipalMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RedirectAttributesMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestPartMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) RequestResponseBodyMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Throws MethodArgumentNotValidException if validation fails.ServletRequestMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ServletResponseMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SetModelAndViewContainer.setRequestHandled(boolean)tofalseto indicate that the method signature provides access to the response.UriComponentsBuilderMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) protected ObjectMatrixVariableMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectPathVariableMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectRequestAttributeMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectServletCookieValueMethodArgumentResolver.resolveName(String cookieName, MethodParameter parameter, NativeWebRequest webRequest) protected ObjectSessionAttributeMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) booleanAbstractMappingJacksonResponseBodyAdvice.supports(MethodParameter returnType, Class<? extends HttpMessageConverter<?>> converterType) booleanJsonViewRequestBodyAdvice.supports(MethodParameter methodParameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) booleanJsonViewResponseBodyAdvice.supports(MethodParameter returnType, Class<? extends HttpMessageConverter<?>> converterType) booleanRequestBodyAdvice.supports(MethodParameter methodParameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) Invoked first to determine if this interceptor applies.booleanResponseBodyAdvice.supports(MethodParameter returnType, Class<? extends HttpMessageConverter<?>> converterType) Whether this component supports the given controller method return type and the selectedHttpMessageConvertertype.booleanContinuationHandlerMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanHttpEntityMethodProcessor.supportsParameter(MethodParameter parameter) booleanMatrixVariableMapMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanMatrixVariableMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanPathVariableMapMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanPathVariableMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanPrincipalMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRedirectAttributesMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRequestAttributeMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanRequestPartMethodArgumentResolver.supportsParameter(MethodParameter parameter) Whether the given method parameter is supported as multi-part.booleanRequestResponseBodyMethodProcessor.supportsParameter(MethodParameter parameter) booleanServletRequestMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanServletResponseMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanSessionAttributeMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanUriComponentsBuilderMethodArgumentResolver.supportsParameter(MethodParameter parameter) booleanAsyncTaskMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanCallableMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanDeferredResultMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanHttpEntityMethodProcessor.supportsReturnType(MethodParameter returnType) booleanHttpHeadersReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanModelAndViewMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanModelAndViewResolverMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) Always returnstrue.booleanRequestResponseBodyMethodProcessor.supportsReturnType(MethodParameter returnType) booleanResponseBodyEmitterReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanStreamingResponseBodyReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanViewMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) booleanViewNameMethodReturnValueHandler.supportsReturnType(MethodParameter returnType) protected voidAbstractMessageConverterMethodArgumentResolver.validateIfApplicable(WebDataBinder binder, MethodParameter parameter) Validate the binding target if applicable.protected <T> voidAbstractMessageConverterMethodProcessor.writeWithMessageConverters(T value, MethodParameter returnType, ServletServerHttpRequest inputMessage, ServletServerHttpResponse outputMessage) Writes the given return type to the given output message.protected <T> voidAbstractMessageConverterMethodProcessor.writeWithMessageConverters(T value, MethodParameter returnType, NativeWebRequest webRequest) Writes the given return value to the given web request.
forExecutable(java.lang.reflect.Executable, int)