Class ArmeriaMessageFramer

java.lang.Object
com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
All Implemented Interfaces:
AutoCloseable

@UnstableApi
public class ArmeriaMessageFramer
extends Object
implements AutoCloseable
A framer of messages for transport with the gRPC wire protocol. See gRPC Wire Format for more detail on the protocol.

The logic has mostly been copied from io.grpc.internal.MessageFramer, while removing the buffer abstraction in favor of using ByteBuf directly. The code has been vastly simplified due to the lack of support for arbitrary InputStreams.