Class AbstractUnsafeUnaryGrpcService

java.lang.Object
com.linecorp.armeria.server.AbstractHttpService
com.linecorp.armeria.server.grpc.protocol.AbstractUnsafeUnaryGrpcService
All Implemented Interfaces:
Unwrappable, HttpService, Service<HttpRequest,HttpResponse>
Direct Known Subclasses:
AbstractUnaryGrpcService

@UnstableApi public abstract class AbstractUnsafeUnaryGrpcService extends AbstractHttpService
An AbstractUnsafeUnaryGrpcService can be used to implement a gRPC service without depending on gRPC stubs. This service takes care of deframing and framing with the gRPC wire format and handling appropriate headers. This unsafe version of a unary gRPC service accepts and returns pooled ByteBuf for payloads. It is for advanced users only, and it is generally recommended to use normal gRPC stubs or AbstractUnaryGrpcService.

This service does not support compression. If you need support for compression, please consider using normal gRPC stubs or file a feature request.