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:
ResteasyReactiveClientRequestFilterto initialize the log with request metadata, invoked method, and request body.ResteasyReactiveClientResponseFilterto define the response metadata.ReaderInterceptorto obtain the response body and save the log.ResteasyReactiveResponseExceptionMapperthat callsresponse.readEntity()to invoke theReaderInterceptorand 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, theReaderInterceptoris 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
ReaderInterceptorto save my audit log, even in cases where theReaderInterceptoris not invoked.Beta Was this translation helpful? Give feedback.
All reactions