Class UrlArgumentResolver
java.lang.Object
org.springframework.web.service.invoker.UrlArgumentResolver
- All Implemented Interfaces:
HttpServiceArgumentResolver
HttpServiceArgumentResolver
that resolves the URL for the request
from a URI
argument.- Since:
- 6.0
- Author:
- Rossen Stoyanchev, Olga Maciaszek-Sharma
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Resolve the argument value.
-
Constructor Details
-
UrlArgumentResolver
public UrlArgumentResolver()
-
-
Method Details
-
resolve
public boolean resolve(@Nullable Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Description copied from interface:HttpServiceArgumentResolver
Resolve the argument value.- Specified by:
resolve
in interfaceHttpServiceArgumentResolver
- Parameters:
argument
- the argument valueparameter
- the method parameter for the argumentrequestValues
- builder to add HTTP request values to- Returns:
true
if the argument was resolved,false
otherwise
-