Top Description Constructors Methods
org.springframework.web.servlet.mvc.method.annotation

public Class ServletWebArgumentResolverAdapter

extends AbstractWebArgumentResolverAdapter
Class Inheritance
Imports
org.springframework.util.Assert, org.springframework.web.bind.support.WebArgumentResolver, org.springframework.web.context.request.NativeWebRequest, .RequestAttributes, .RequestContextHolder, .ServletRequestAttributes, .ServletWebRequest, org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter

A Servlet-specific org.springframework.web.method.annotation.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 org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter.

Author
Rossen Stoyanchev
Since
3.1

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected NativeWebRequest
Inherited from org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter:
resolveArgumentsupportsParameter

Constructor Detail

ServletWebArgumentResolverAdapterback to summary
public ServletWebArgumentResolverAdapter(WebArgumentResolver adaptee)

Method Detail

getWebRequestback to summary
protected NativeWebRequest getWebRequest()

Implements abstract org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter.getWebRequest.

Doc from org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter.getWebRequest.

Required for access to NativeWebRequest in supportsParameter.

Annotations
@Override