@UnstableApi @NonNullByDefault
Package com.linecorp.armeria.common.grpc.protocol
Common classes 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
the armeria-grpc
module instead of this package.
The classes in this package, unlike other packages, are not guaranteed to be backward compatible since it's an advanced API.
-
Interface Summary Interface Description Compressor Represents a message compressor.Decompressor Represents a message decompressor. -
Class Summary Class Description ArmeriaMessageDeframer A deframer of messages transported in the gRPC wire format.ArmeriaMessageFramer A framer of messages for transport with the gRPC wire protocol.DeframedMessage A deframed message.GrpcHeaderNames gRPC-related HTTP header names.StatusMessageEscaper Utility to escape status messages (e.g., error messages) for saving to ascii headers. -
Exception Summary Exception Description ArmeriaStatusException AnException
that contains enough information to convert it to a gRPC status.