quarkus-qe / quarkus-test-suite

16 stars 34 forks source link

Replace deprecated API in HTTP modules #2198

Closed mocenas closed 1 week ago

mocenas commented 1 week ago

Summary

Replace deprecated APIs in HTTP modules.

Please select the relevant options.

Checklist:

mocenas commented 1 week ago

run tests

rsvoboda commented 1 week ago

in certain conditions (that we meet) ... where are the conditions specified? Are they visible to users?

mocenas commented 1 week ago

in certain conditions (that we meet) ... where are the conditions specified? Are they visible to users?

They are specified in the deprecation message for the @MultipartForm it states this annotation is not required anymore: you can use BeanParam or just omit it entirely, as long as your container class holds any annotated fields with RestForm, RestCookie, RestHeader, RestPath, RestMatrix, RestQuery or their JAX-RS equivalents.

Yes this is visible to users.

Sorry if I wrote my original description too mysteriously.