netty-http icon indicating copy to clipboard operation
netty-http copied to clipboard

Autodetecting Media Types

Open re-thc opened this issue 6 years ago • 4 comments

Hi, would it be possible to add support for jaxrs MediaType annotations like in Jersey? This way it can automatically convert from e.g. json (instead of manually calling sendjson and converting from object to json string)...

re-thc avatar Jun 13 '18 05:06 re-thc

Could you open an issue please ?

On Tue, Jun 12, 2018 at 10:50 PM hc-codersatlas [email protected] wrote:

Hi, would it be possible to add support for jaxrs MediaType annotations like in Jersey? This way it can automatically convert from e.g. json (instead of manually calling sendjson and converting from object to json string)...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/caskdata/netty-http/issues/64, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTXn5pfGthl-v_xkIxdjtl3oWz1JNklks5t8KgWgaJpZM4Ulkpc .

--

Nitin Motgi

"We reap what we sow. We are the makers of our own fate. The wind is blowing; those vessels whose sails are unfurled catch it, and go forward on their way, but those which have their sails furled do not catch the wind. Is that the fault of the wind?....... We make our own destiny.” -- Swami Vivekananda

nitinmotgi avatar Jul 14 '18 01:07 nitinmotgi

Where do I need to open the issue? It's already an open issue in Github. Is this not the right place?

re-thc avatar Jul 14 '18 03:07 re-thc

@nitinmotgi What is needed to push this on? I guess having non-void methods would be a breaking API change.

fatso83 avatar Jan 27 '21 14:01 fatso83

Would implementing this be interesting for the project, @chtyim?

fatso83 avatar Apr 19 '22 15:04 fatso83