类 CustomRequestParamMethodArgumentResolver
- java.lang.Object
-
- org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
-
- org.springframework.web.method.annotation.RequestParamMethodArgumentResolver
-
- ai.yue.library.web.config.argument.resolver.CustomRequestParamMethodArgumentResolver
-
- 所有已实现的接口:
org.springframework.web.method.support.HandlerMethodArgumentResolver,org.springframework.web.method.support.UriComponentsContributor
public class CustomRequestParamMethodArgumentResolver extends org.springframework.web.method.annotation.RequestParamMethodArgumentResolverRequestParamMethodArgumentResolver 增强添加对body参数的解析
- 从以下版本开始:
- 2020年7月25日
- 作者:
- ylyue
-
-
构造器概要
构造器 构造器 说明 CustomRequestParamMethodArgumentResolver(boolean useDefaultResolution)CustomRequestParamMethodArgumentResolver(org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory, boolean useDefaultResolution)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected ObjectresolveName(String name, org.springframework.core.MethodParameter parameter, org.springframework.web.context.request.NativeWebRequest request)-
从类继承的方法 org.springframework.web.method.annotation.RequestParamMethodArgumentResolver
contributeMethodArgument, createNamedValueInfo, formatUriValue, handleMissingValue, handleMissingValueAfterConversion, handleMissingValueInternal, supportsParameter
-
-
-
-
构造器详细资料
-
CustomRequestParamMethodArgumentResolver
public CustomRequestParamMethodArgumentResolver(boolean useDefaultResolution)
-
CustomRequestParamMethodArgumentResolver
public CustomRequestParamMethodArgumentResolver(@Nullable org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory, boolean useDefaultResolution)
-
-
方法详细资料
-
resolveName
@Nullable protected Object resolveName(String name, org.springframework.core.MethodParameter parameter, org.springframework.web.context.request.NativeWebRequest request) throws Exception
- 覆盖:
resolveName在类中org.springframework.web.method.annotation.RequestParamMethodArgumentResolver- 抛出:
Exception
-
-