Spring Web Migration - HttpServletRequest/Response #41412
Unanswered
frootshoot
asked this question in
Q&A
Replies: 2 comments 4 replies
-
/cc @geoand (spring) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for reporting this! Are you using |
Beta Was this translation helpful? Give feedback.
4 replies
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.
-
We are looking at migrating a number of Spring applications to Quarkus and a lot of them use HttpServletRequest objects as parameters alongside the standard Header / Path annotations.
As per the documentation we added "quarkus-undertow" to the dependencies and ran the application. On compilation the "GET" methods had warnings about using body parameters, and when calling any of the endpoints we got a 415 error in the logs.
Is there anything we are missing in order to port these applications without having to change them to use other context parameters?
In addition a small number of services were using HttpServletResponse to send a file back as an attachment - the docs imply this is supported as the object is, but again no joy ?
Beta Was this translation helpful? Give feedback.
All reactions