@NonNullByDefault
Package com.linecorp.armeria.common.grpc.protocol
Logic for handling the gRPC wire protocol, without support for gRPC generated code stubs. This package is
separated for advanced users that would like to use the gRPC wire protocol without depending on gRPC itself.
This package must not depend on any dependencies outside of armeria-core.
Don't use this package unless you know what you're doing, it is generally recommended to use normal gRPC
stubs and com.linecorp.armeria.server.grpc.GrpcServiceBuilder or making a client with the
"gproto+" prefix.
-
Interface Summary Interface Description ArmeriaMessageDeframer.Listener A listener of deframing events.Compressor Represents a message compressor.Decompressor Represents a message decompressor. -
Class Summary Class Description AbstractUnaryGrpcService AnAbstractUnaryGrpcServicecan be used to implement a gRPC service without depending on gRPC stubs.AbstractUnsafeUnaryGrpcService AnAbstractUnsafeUnaryGrpcServicecan be used to implement a gRPC service without depending on gRPC stubs.ArmeriaMessageDeframer A deframer of messages transported in the gRPC wire format.ArmeriaMessageDeframer.ByteBufOrStream A deframed message.ArmeriaMessageFramer A framer of messages for transport with the gRPC wire protocol.GrpcHeaderNames gRPC-related HTTP header names.GrpcTrailersUtil Utility for creating response trailers for a gRPC status.StatusMessageEscaper Utility to escape status messages (e.g., error messages) for saving to ascii headers.UnaryGrpcClient AUnaryGrpcClientcan be used to make requests to a gRPC server without depending on gRPC stubs. -
Exception Summary Exception Description ArmeriaStatusException AnExceptionthat contains enough information to convert it to a gRPC status.