You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Async variants of ExecutionInterceptor.modifyRequest, modifyResponse and modifyException #7559
Add async versions of modifyRequest, modifyResponse and modifyException that return a CompletableFuture, so interceptors on async clients can do I/O without blocking. These could be additive default methods, so existing interceptors keep working.
Use Case
These hooks must return synchronously, so on an async client an interceptor has two options:
Block inside the hook. It blocks the caller's thread in modifyRequest, and the Netty event loop in modifyResponse and modifyException.
Wrap the entire service client. That means forwarding every operation by hand.
Activity
debora-ito commentedon Nov 17, 2026
Hi @hanabanaka
Acknowledged as a feature request.
Community note: please add a 👍 reaction to the top issue to help us with prioritization.