cdapio / netty-http

Netty based HTTP service with JAX-RS
Apache License 2.0
126 stars 49 forks source link

Autodetecting Media Types #64

Open re-thc opened 6 years ago

re-thc commented 6 years ago

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)...

nitinmotgi commented 6 years ago

Could you open an issue please ?

On Tue, Jun 12, 2018 at 10:50 PM hc-codersatlas notifications@github.com 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

re-thc commented 6 years ago

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

fatso83 commented 3 years ago

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

fatso83 commented 2 years ago

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