Interface HttpRequestValues.Processor

Enclosing class:
HttpRequestValues

public static interface HttpRequestValues.Processor
A contract that allows further customization of HttpRequestValues in addition to those added by argument resolvers.

Use HttpServiceProxyFactory.Builder.httpRequestValuesProcessor(Processor) to add such a processor.

Since:
7.0
Author:
Rossen Stoyanchev, Olga Maciaszek-Sharma
  • Method Details

    • process

      void process(Method method, MethodParameter[] parameters, @Nullable Object[] arguments, HttpRequestValues.Builder builder)
      Invoked after argument resolvers have been called, and before the HttpRequestValues is built.
      Parameters:
      method - the @HttpExchange method
      parameters - provides access to method parameter information
      arguments - the raw argument values to the method
      builder - the builder to add request values too; the builder also exposes method HttpRequestValues.Metadata from the HttpExchange method.