public class DeviceWebArgumentResolver
extends java.lang.Object
implements org.springframework.web.bind.support.WebArgumentResolver
WebArgumentResolver
that resolves @Controller MethodParameters of type Device
to the value of the web request's current device
attribute.Constructor and Description |
---|
DeviceWebArgumentResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
resolveArgument(org.springframework.core.MethodParameter param,
org.springframework.web.context.request.NativeWebRequest request) |
public java.lang.Object resolveArgument(org.springframework.core.MethodParameter param, org.springframework.web.context.request.NativeWebRequest request) throws java.lang.Exception
resolveArgument
in interface org.springframework.web.bind.support.WebArgumentResolver
java.lang.Exception