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
ConstructorsModifierConstructorDescriptionprotectedServletRequestValueResolver(ServletRequest request, WebDataBinder dataBinder)  - 
Method Summary
Modifier and TypeMethodDescriptiongetNames()Return the names of all property values.protected ServletRequestprotected ObjectgetRequestParameter(String name, Class<?> type) initParameterNames(ServletRequest request) final ObjectresolveValue(String name, Class<?> paramType) Resolve the value for the given name and target parameter type. 
- 
Constructor Details
- 
ServletRequestValueResolver
 
 - 
 - 
Method Details
- 
getRequest
 - 
resolveValue
Description copied from interface:DataBinder.ValueResolverResolve the value for the given name and target parameter type.- Specified by:
 resolveValuein interfaceDataBinder.ValueResolver- Parameters:
 name- the name to use for the lookup, possibly a nested path for constructor parameters on nested objectsparamType- the target type, based on the constructor parameter type- Returns:
 - the resolved value, possibly 
nullif none found 
 - 
getRequestParameter
 - 
getNames
Description copied from interface:DataBinder.ValueResolverReturn the names of all property values.Useful for proactive checks whether there are property values nested further below the path for a constructor arg. If not then the constructor arg can be considered missing and not to be instantiated.
- Specified by:
 getNamesin interfaceDataBinder.ValueResolver
 - 
initParameterNames
 
 -