-
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 request filter ctx.abortWith() exception #17998
Labels
Milestone
Comments
quarkus-bot
bot
added
area/kotlin
area/rest
env/windows
Impacts Windows machines
labels
Jun 18, 2021
Thanks, I'll fix the documentation! |
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Jun 18, 2021
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Jun 18, 2021
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Jun 18, 2021
Wow that was fast, thanks 😋😍 |
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Jun 18, 2021
geoand
added a commit
that referenced
this issue
Jun 21, 2021
Fix RESTEasy Reactive documentation on how to abort with @ServerRequestFilter
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jun 21, 2021
…stFilter Fixes: quarkusio#17998 (cherry picked from commit 663f47f)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
With the new RESTEasy Reactive @ServerRequestFilter annotation ctx.abortWith() as shown in the example of the guide https://quarkus.io/guides/resteasy-reactive#request-or-response-filters is not working, I get an internal server error.
Expected behavior
The RESTEasy Reactive @ServerRequestFilter should abort the request with HTTP 405 when
ctx.abortWith(Response.status(Response.Status.METHOD_NOT_ALLOWED).build());
is calledActual behavior
To Reproduce
Steps to reproduce the behavior:
curl -v -X GET 'http://localhost:8080/hello-resteasy-reactive'
Configuration
Environment (please complete the following information):
Output of
uname -a
orver
Microsoft Windows [Version 10.0.18363.1621]
Output of
java -version
openjdk version "11.0.11" 2021-04-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.11+9-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9-LTS, mixed mode)
GraalVM version (if different from Java)
Quarkus version or git rev
1.13.7.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 6.8.3
Build time: 2021-02-22 16:13:28 UTC
Revision: 9e26b4a9ebb910eaa1b8da8ff8575e514bc61c78
Kotlin: 1.4.20
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM: 11.0.11 (ojdkbuild 11.0.11+9-LTS)
OS: Windows 10 10.0 amd64
Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: