Class HttpMethodArgumentResolver
java.lang.Object
org.springframework.web.service.invoker.HttpMethodArgumentResolver
- All Implemented Interfaces:
HttpServiceArgumentResolver
HttpServiceArgumentResolver
that resolves the target
request's HTTP method from an HttpMethod
argument.- Since:
- 6.0
- Author:
- Olga Maciaszek-Sharma, Rossen Stoyanchev
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
resolve
(@Nullable Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Resolve the argument value.
-
Constructor Details
-
HttpMethodArgumentResolver
public HttpMethodArgumentResolver()
-
-
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
-