Class RequestBodyArgumentResolver
java.lang.Object
org.springframework.web.service.invoker.RequestBodyArgumentResolver
- All Implemented Interfaces:
HttpServiceArgumentResolver
HttpServiceArgumentResolver
for @RequestBody
annotated arguments.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
ConstructorDescriptionRequestBodyArgumentResolver
(HttpExchangeAdapter exchangeAdapter) Constructor with aHttpExchangeAdapter
, for access to config settings. -
Method Summary
Modifier and TypeMethodDescriptionboolean
resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Resolve the argument value.
-
Constructor Details
-
RequestBodyArgumentResolver
Constructor with aHttpExchangeAdapter
, for access to config settings.- Since:
- 6.1
-
-
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
-