Package io.grpc.servlet.jakarta
@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.
-
ClassDescriptionA simple servlet backed by a gRPC server.An adapter that transforms
HttpServletRequest
into gRPC request and lets a gRPC server process it, and transforms the gRPC response intoHttpServletResponse
.Builder to build a gRPC server that can run as a servlet.