@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1914") public abstract static class CallCredentials.RequestInfo extends java.lang.Object
CallCredentials2.applyRequestMetadata()
.Constructor | Description |
---|---|
RequestInfo() |
Modifier and Type | Method | Description |
---|---|---|
abstract java.lang.String |
getAuthority() |
Returns the authority string used to authenticate the server for this call.
|
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.
|
public abstract MethodDescriptor<?,?> getMethodDescriptor()
public abstract SecurityLevel getSecurityLevel()
public abstract java.lang.String getAuthority()
@TransportAttr public abstract Attributes getTransportAttrs()