Package io.grpc

Class CallCredentials.RequestInfo

java.lang.Object
io.grpc.CallCredentials.RequestInfo
Enclosing class:
CallCredentials

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

    • RequestInfo

      public RequestInfo()
  • Method Details

    • 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.
    • getTransportAttrs

      @TransportAttr public abstract Attributes getTransportAttrs()
      Returns the transport attributes.