Overview
While working on #31962, I noticed that we could potentially also log a warning for multiple @HttpExchange
annotations declared on the same element (class or method); however, since it never makes sense to declare multiple @HttpExchange
annotations on the same element, the team has decided to reject such declarations instead of merely logging a warning.
Related Issues
-
31962
Comment From: sbrannen
Commit b8b31ff8a14af13975541cba41657c08ee64868e only addressed server-side @HttpExchange
support in controllers.
Reopening to address @HttpExchange
support in HTTP interface clients.
Comment From: injae-kim
Reopening to address @HttpExchange support in HTTP interface clients.
oh nice enhancement! If you don't start to working on above PR yet (apply rejecting multiple @HttpExchange
on Http interface clients too), may I try to create PR? thanks!
I think I can create PR on this weekend 😃
Comment From: sbrannen
Thanks for the offer, @injae-kim, but the issue is assigned to me, and I am actively working on this.
Comment From: injae-kim
oh sorry for bothering you. I didn't know that you already working on this. thanks!!