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