spring-framework / org.springframework.web.method.annotation / RequestParamMethodArgumentResolver / supportsParameter
supportsParameter
open fun supportsParameter(parameter: MethodParameter): Boolean
Overrides HandlerMethodArgumentResolver.supportsParameter
Supports the following:
- @RequestParam-annotated method arguments. This excludes Map params where the annotation doesn't specify a name. See RequestParamMapMethodArgumentResolver instead for such params.
- Arguments of type MultipartFile unless annotated with @RequestPart.
- Arguments of type
javax.servlet.http.Part unless annotated with @RequestPart.
- In default resolution mode, simple type arguments even if not with @RequestParam.