Class GrpcHeaders
java.lang.Object
org.springframework.grpc.internal.GrpcHeaders
Common gRPC headers.
NOTE: Even though this class visibility is `public` it is intended for internal use only and not recommended for direct use.
- Author:
- Andrey Litvitski
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.grpc.Metadata.Key<String> A constant key used for storing and retrieving the "Authorization" header from gRPC metadata. -
Method Summary
-
Field Details
-
AUTHORIZATION_KEY
A constant key used for storing and retrieving the "Authorization" header from gRPC metadata. This key is used to handle authorization information in gRPC requests.The key is defined with the name "Authorization" and uses the ASCII string marshaller for encoding and decoding the header value.
-