line / armeria

Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
https://armeria.dev
Apache License 2.0
4.83k stars 918 forks source link

Support servlet 3.x and servlet 4.x #2672

Open dominhhien opened 4 years ago

dominhhien commented 4 years ago

It would be great if Armeria supports servlet 3.x (HTTP1) and servlet 4.x (HTTP2) interface. Because it is familiar to java web developers. I think all web server should implement servlet, it help them save time and effort because they don't have to study new interface.

trustin commented 4 years ago

From our Slack workspace:

@trustin: It might be useful to provide a ServletService as a lightweight emulation layer of Servlet API, although limited. Are you interested in writing one? @dominhhien: Yes, I will try to write it. :slightly_smiling_face: