Interface GrpcMessage


public interface GrpcMessage
A generic gRPC message
Author:
Julien Viet
  • Method Details

    • message

      static GrpcMessage message(String encoding, WireFormat format, Buffer payload)
      Returns:
      a new message
    • message

      static GrpcMessage message(String encoding, Buffer payload)
      Returns:
      a new message in proto format
    • isCompressed

      default boolean isCompressed()
    • encoding

      String encoding()
      Returns:
      the message encoding
    • format

      WireFormat format()
      Returns:
      the message format
    • payload

      Buffer payload()
      Returns:
      the message payload, usually in Protobuf format encoded in the encoding() format