-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RESTEasy Reactive: add ability to invoke filters once the form parameters are read #22209
Comments
/cc @geoand, @stuartwdouglas |
Sounds interesting |
Allow request filters to be run after the input has been read
OK, so funny thing: this works when the endpoint has |
We probably can. Please open a new issue |
Done, thanks! |
@FroMage Are you able to describe the exact circumstances under which this will currently work? I need a filter to do an HMAC calc for security reasons and it needs all the form data. I'm using I can't do the calc just from the individual This was easy with REST Classic and is currently a showstopper for migrating to Reactive. |
Resolved. Needed to
|
Description
I need to set a filter that checks every
POST
request for the existence of a CRSF value, but when my filter is invoked, the form is not read yet:It would be nice to have an option to delay filters to after the form is read, perhaps with
@ServerRequestFilter(readBody = true)
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: