Class GrpcHeaderNames
java.lang.Object
io.vertx.grpc.common.GrpcHeaderNames
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AsciiStringHeader specifying which compression algorithms the client or server supports.static final AsciiStringHeader indicating the compression algorithm used for the message payload.static final AsciiStringHeader containing the error message when a request fails.static final AsciiStringHeader specifying the type of the message being transmitted.static final AsciiStringHeader containing the status code of a gRPC response.static final AsciiStringHeader containing additional error details when a request fails.static final AsciiStringHeader for specifying the timeout for a gRPC call. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GRPC_TIMEOUT
Header for specifying the timeout for a gRPC call. Format is an integer followed by a time unit: 'S', 'M', 'H' (seconds, minutes, hours). Example: "10S" for a 10-second timeout. -
GRPC_ENCODING
Header indicating the compression algorithm used for the message payload. Common values include "gzip", "snappy", and "identity" (no compression). -
GRPC_ACCEPT_ENCODING
Header specifying which compression algorithms the client or server supports. Multiple algorithms can be specified as a comma-separated list. -
GRPC_MESSAGE_TYPE
Header specifying the type of the message being transmitted. -
GRPC_STATUS
Header containing the status code of a gRPC response. This is used to communicate error conditions from the server to the client. Values are defined in the gRPC protocol specification. -
GRPC_MESSAGE
Header containing the error message when a request fails. The message is percent-encoded. -
GRPC_STATUS_DETAILS_BIN
Header containing additional error details when a request fails. The value is base64 encoded.
-
-
Constructor Details
-
GrpcHeaderNames
public GrpcHeaderNames()
-