Interface InvocationBuilderListener

@Beta @Contract @ConstrainedTo(CLIENT) public interface InvocationBuilderListener
Implementations of this interface will be notified when a new Invocation.Builder is created. This will allow implementations to access the invocation builders, and is intended for global providers. For example, the Invocation.Builder properties can be accessed to set properties that are available on the ClientRequestContext.

In order for the InvocationBuilderListener to be called, the implementation of the interface needs to be registered on the Client the same way the ClientRequestFilter is registered, for instance. If multiple InvocationBuilderListeners are to be utilized, the order of execution is driven by the Priority, the lower the priority value, the higher the priority, the sooner the execution.