public class SitePreferenceWebArgumentResolver extends Object implements WebArgumentResolver
WebArgumentResolver
that resolves @Controller MethodParameters of type SitePreference
to the value of the web request's current site preference attribute
.UNRESOLVED
Constructor and Description |
---|
SitePreferenceWebArgumentResolver() |
public Object resolveArgument(MethodParameter param, NativeWebRequest request) throws Exception
resolveArgument
in interface WebArgumentResolver
Exception