@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1914") public abstract static class CallCredentials.RequestInfo extends Object
CallCredentials.applyRequestMetadata()
.Constructor and Description |
---|
RequestInfo() |
Modifier and Type | Method and Description |
---|---|
abstract 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 String getAuthority()
@Grpc.TransportAttr public abstract Attributes getTransportAttrs()