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 Summary
Modifier and TypeMethodDescriptionvoid
process
(Method method, @Nullable Object[] arguments, HttpRequestValues.Builder builder) Invoked after argument resolvers have been called, and before theHttpRequestValues
is built.
-
Method Details
-
process
Invoked after argument resolvers have been called, and before theHttpRequestValues
is built.- Parameters:
method
- the@HttpExchange
methodarguments
- the raw argument values to the methodbuilder
- the builder to add request values too; the builder also exposes methodHttpRequestValues.Metadata
from theHttpExchange
method.
-