Class BindParamNameResolver
java.lang.Object
org.springframework.web.bind.support.BindParamNameResolver
- All Implemented Interfaces:
DataBinder.NameResolver
DataBinder.NameResolver
that determines
the bind value name from a @BindParam
method parameter
annotation.- Since:
- 6.1
- Author:
- Rossen Stoyanchev
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveName
(MethodParameter parameter) Return the name to use for the given method parameter, ornull
if unresolved.
-
Constructor Details
-
BindParamNameResolver
public BindParamNameResolver()
-
-
Method Details
-
resolveName
Description copied from interface:DataBinder.NameResolver
Return the name to use for the given method parameter, ornull
if unresolved. For constructor parameters, the name is determined viaDefaultParameterNameDiscoverer
if unresolved.- Specified by:
resolveName
in interfaceDataBinder.NameResolver
-