Package io.servicetalk.grpc.api
Class GrpcHeaderNames
java.lang.Object
io.servicetalk.grpc.api.GrpcHeaderNames
Common gRPC header names.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CharSequence
Message-Accept-Encoding →grpc-accept-encoding
static final CharSequence
Message-Encoding →grpc-encoding
static final CharSequence
Message-Type →grpc-message-type
static final CharSequence
Status →grpc-status
static final CharSequence
Status-Details (binary) →grpc-status-details-bin
static final CharSequence
Status-Message →grpc-message
static final CharSequence
Timeout →grpc-timeout
-
Method Summary
-
Field Details
-
GRPC_STATUS
Status →grpc-status
Holds a status code of gRPC operation.
Note: this can be either an HTTP header or a trailer.
-
GRPC_STATUS_DETAILS_BIN
Status-Details (binary) →grpc-status-details-bin
Holds a base64 encoded value of the binary representation of google.rpc.Status proto.
Note: this can be either an HTTP header or a trailer.
- See Also:
-
GRPC_STATUS_MESSAGE
Status-Message →grpc-message
Defines an arbitrary message to provide more context for the
GRPC_STATUS
.Note: this can be either an HTTP header or a trailer.
- See Also:
-
GRPC_MESSAGE_TYPE
Message-Type →grpc-message-type
Defines a fully qualified proto message name.
- See Also:
-
GRPC_MESSAGE_ENCODING
Message-Encoding →grpc-encoding
Defines a used Content-Coding of the gRPC message.
-
GRPC_MESSAGE_ACCEPT_ENCODING
Message-Accept-Encoding →grpc-accept-encoding
Defines what Content-Codings a client may accept.
-
GRPC_TIMEOUT
Timeout →grpc-timeout
- See Also:
-