Interface HttpServiceArgumentResolver

All Known Implementing Classes:
AbstractNamedValueArgumentResolver, CookieValueArgumentResolver, HttpMethodArgumentResolver, PathVariableArgumentResolver, RequestAttributeArgumentResolver, RequestBodyArgumentResolver, RequestHeaderArgumentResolver, RequestParamArgumentResolver, 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 Details

    • resolve

      boolean resolve(@Nullable Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues)
      Resolve the argument value.
      Parameters:
      argument - the argument value
      parameter - the method parameter for the argument
      requestValues - builder to add HTTP request values to
      Returns:
      true if the argument was resolved, false otherwise