Replies: 2 comments 1 reply
-
/cc @Sgitario (rest-client), @cescoffier (rest-client), @geoand (rest-client) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, There is no such component unfortunately. The lifecycle is essentially determined by the JAX-RS (Jakarta REST) spec. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, to provide some context, I am currently developing a custom extension that generates audit logs for REST clients. The extension involves registering the following components:
ResteasyReactiveClientRequestFilter
to initialize the log with request metadata, invoked method, and request body.ResteasyReactiveClientResponseFilter
to define the response metadata.ReaderInterceptor
to obtain the response body and save the log.ResteasyReactiveResponseExceptionMapper
that callsresponse.readEntity()
to invoke theReaderInterceptor
and obtain the exception to continue the chain.This flow works well, where the request succeeds by going through
request filter
->response filter
->reader interceptor
. However, when the request returnsvoid
, such as with a204 - Created
, theReaderInterceptor
is not invoked, and my audit log is not saved.I would like to know if there is a filter or another component that applies after the
ReaderInterceptor
to save my audit log, even in cases where theReaderInterceptor
is not invoked.Beta Was this translation helpful? Give feedback.
All reactions