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() |
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(MethodParameter param,
NativeWebRequest request) |
public Object resolveArgument(MethodParameter param, NativeWebRequest request) throws Exception
resolveArgument
in interface WebArgumentResolver
Exception