Package io.grpc

Class CallCredentials.RequestInfo

  • Enclosing class:
    CallCredentials

    public abstract static class CallCredentials.RequestInfo
    extends Object
    The request-related information passed to CallCredentials.applyRequestMetadata().
    • Constructor Detail

      • RequestInfo

        public RequestInfo()
    • Method Detail

      • getMethodDescriptor

        public abstract MethodDescriptor<?,​?> getMethodDescriptor()
        The method descriptor of this RPC.
      • getCallOptions

        public CallOptions getCallOptions()
        The call options used to call this RPC.
      • getSecurityLevel

        public abstract SecurityLevel getSecurityLevel()
        The security level on the transport.
      • getAuthority

        public abstract String getAuthority()
        Returns the authority string used to authenticate the server for this call.