public class UifDefaultFormMethodArgumentResolver extends Object implements org.springframework.web.method.support.HandlerMethodArgumentResolver
Constructor and Description |
---|
UifDefaultFormMethodArgumentResolver()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isBindExceptionRequired(org.springframework.core.MethodParameter parameter)
Whether to raise a
BindException on validation errors. |
Object |
resolveArgument(org.springframework.core.MethodParameter parameter,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest,
org.springframework.web.bind.support.WebDataBinderFactory binderFactory) |
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter) |
public UifDefaultFormMethodArgumentResolver()
public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
supportsParameter
in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
public Object resolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest, org.springframework.web.bind.support.WebDataBinderFactory binderFactory) throws Exception
resolveArgument
in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
Exception
protected boolean isBindExceptionRequired(org.springframework.core.MethodParameter parameter)
BindException
on validation errors.parameter
- the method argumenttrue
if the next method argument is not of type Errors
.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.