Class ServletWebArgumentResolverAdapter
java.lang.Object
org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter
org.springframework.web.servlet.mvc.method.annotation.ServletWebArgumentResolverAdapter
- All Implemented Interfaces:
HandlerMethodArgumentResolver
A Servlet-specific
AbstractWebArgumentResolverAdapter
that creates a NativeWebRequest
from ServletRequestAttributes
.
Note: This class is provided for backwards compatibility.
However it is recommended to re-write a WebArgumentResolver
as
HandlerMethodArgumentResolver
. For more details see javadoc of
AbstractWebArgumentResolverAdapter
.
- Since:
- 3.1
- Author:
- Rossen Stoyanchev
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NativeWebRequest
Required for access to NativeWebRequest inAbstractWebArgumentResolverAdapter.supportsParameter(org.springframework.core.MethodParameter)
.Methods inherited from class org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter
resolveArgument, supportsParameter
-
Constructor Details
-
ServletWebArgumentResolverAdapter
-
-
Method Details
-
getWebRequest
Description copied from class:AbstractWebArgumentResolverAdapter
Required for access to NativeWebRequest inAbstractWebArgumentResolverAdapter.supportsParameter(org.springframework.core.MethodParameter)
.- Specified by:
getWebRequest
in classAbstractWebArgumentResolverAdapter
-