org.springframework.web.servlet.mvc.method.annotation
Class ServletWebArgumentResolverAdapter
java.lang.Object
org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter
org.springframework.web.servlet.mvc.method.annotation.ServletWebArgumentResolverAdapter
- All Implemented Interfaces:
- HandlerMethodArgumentResolver
public class ServletWebArgumentResolverAdapter
- extends AbstractWebArgumentResolverAdapter
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletWebArgumentResolverAdapter
public ServletWebArgumentResolverAdapter(WebArgumentResolver adaptee)
getWebRequest
protected NativeWebRequest getWebRequest()
- Description copied from class:
AbstractWebArgumentResolverAdapter
- Required for access to NativeWebRequest in
AbstractWebArgumentResolverAdapter.supportsParameter(org.springframework.core.MethodParameter)
.
- Specified by:
getWebRequest
in class AbstractWebArgumentResolverAdapter