Class GrpcHeaders

java.lang.Object
org.springframework.grpc.internal.GrpcHeaders

public final class GrpcHeaders extends Object
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 Details

    • AUTHORIZATION_KEY

      public static final io.grpc.Metadata.Key<String> 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.