org.springframework.web.method.annotation

Class ExpressionValueMethodArgumentResolver

  • All Implemented Interfaces:
    HandlerMethodArgumentResolver


    public class ExpressionValueMethodArgumentResolver
    extends AbstractNamedValueMethodArgumentResolver
    Resolves method arguments annotated with @Value.

    An @Value does not have a name but gets resolved from the default value string, which may contain ${...} placeholder or Spring Expression Language #{...} expressions.

    A WebDataBinder may be invoked to apply type conversion to resolved argument value.

    Since:
    3.1
    Author:
    Rossen Stoyanchev