Top Description Constructors Methods
org.springframework.web.bind.support

public final Class BindParamNameResolver

extends Object
implements NameResolver
Class Inheritance
All Implemented Interfaces
org.springframework.validation.DataBinder.NameResolver
Imports
org.springframework.core.MethodParameter, org.springframework.util.StringUtils, org.springframework.validation.DataBinder, org.springframework.web.bind.annotation.BindParam

org.springframework.validation.DataBinder.NameResolver that determines the bind value name from a @BindParam method parameter annotation.
Author
Rossen Stoyanchev
Since
6.1

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
resolveName(MethodParameter parameter)

Implements org.springframework.validation.DataBinder.NameResolver.resolveName.

Return the name to use for the given method parameter, or null if unresolved.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BindParamNameResolverback to summary
public BindParamNameResolver()

Method Detail

resolveNameback to summary
public String resolveName(MethodParameter parameter)

Implements org.springframework.validation.DataBinder.NameResolver.resolveName.

Doc from org.springframework.validation.DataBinder.NameResolver.resolveName.

Return the name to use for the given method parameter, or null if unresolved. For constructor parameters, the name is determined via org.springframework.core.DefaultParameterNameDiscoverer if unresolved.

Annotations
@Override