@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
HttpServletRequestinto gRPC request and lets a gRPC server process it, and transforms the gRPC response into
HttpServletResponse.Builder to build a gRPC server that can run as a servlet.