Interface HttpServiceArgumentResolver
- All Known Implementing Classes:
AbstractNamedValueArgumentResolver
,CookieValueArgumentResolver
,HttpMethodArgumentResolver
,MultipartFileArgumentResolver
,PathVariableArgumentResolver
,RequestAttributeArgumentResolver
,RequestBodyArgumentResolver
,RequestHeaderArgumentResolver
,RequestParamArgumentResolver
,RequestPartArgumentResolver
,UrlArgumentResolver
public interface HttpServiceArgumentResolver
Resolve an argument from an
@HttpExchange
-annotated method
to one or more HTTP request values.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionboolean
resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Resolve the argument value.
-
Method Details
-
resolve
boolean resolve(@Nullable Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Resolve the argument value.- 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
-