@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5066")
Package io.grpc.servlet.jakarta
API that implements gRPC server as a servlet. The API requires that the application container
supports Servlet 4.0 and enables HTTP/2.
The API is experimental. The authors would like to know more about the real usecases. Users are welcome to provide feedback by commenting on the tracking issue.
-
Class Summary Class Description GrpcServlet A simple servlet backed by a gRPC server.ServletAdapter An adapter that transformsHttpServletRequest
into gRPC request and lets a gRPC server process it, and transforms the gRPC response intoHttpServletResponse
.ServletServerBuilder Builder to build a gRPC server that can run as a servlet.