Package org.springframework.web.bind
Class ServletRequestDataBinder.ServletRequestValueResolver
java.lang.Object
org.springframework.web.bind.ServletRequestDataBinder.ServletRequestValueResolver
- All Implemented Interfaces:
DataBinder.ValueResolver
- Enclosing class:
- ServletRequestDataBinder
protected static class ServletRequestDataBinder.ServletRequestValueResolver
extends Object
implements DataBinder.ValueResolver
Resolver that looks up values to bind in a
ServletRequest
.-
Constructor Summary
ModifierConstructorDescriptionprotected
ServletRequestValueResolver
(ServletRequest request, WebDataBinder dataBinder) -
Method Summary
Modifier and TypeMethodDescriptionprotected ServletRequest
protected Object
getRequestParameter
(String name, Class<?> type) final Object
resolveValue
(String name, Class<?> paramType) Look up the value for a constructor argument.
-
Constructor Details
-
ServletRequestValueResolver
-
-
Method Details
-
getRequest
-
resolveValue
Description copied from interface:DataBinder.ValueResolver
Look up the value for a constructor argument.- Specified by:
resolveValue
in interfaceDataBinder.ValueResolver
- Parameters:
name
- the argument nameparamType
- the argument type- Returns:
- the resolved value, possibly
null
-
getRequestParameter
-