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 toCallCredentials.applyRequestMetadata()
.
-
-
Constructor Summary
Constructors Constructor Description RequestInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getAuthority()
Returns the authority string used to authenticate the server for this call.CallOptions
getCallOptions()
The call options used to call this RPC.abstract MethodDescriptor<?,?>
getMethodDescriptor()
The method descriptor of this RPC.abstract SecurityLevel
getSecurityLevel()
The security level on the transport.abstract Attributes
getTransportAttrs()
Returns the transport attributes.
-
-
-
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.
-
getTransportAttrs
@TransportAttr public abstract Attributes getTransportAttrs()
Returns the transport attributes.
-
-