Package io.grpc
Class CallCredentials.RequestInfo
- java.lang.Object
-
- io.grpc.CallCredentials.RequestInfo
-
- Enclosing class:
- CallCredentials
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1914") public abstract static class CallCredentials.RequestInfo extends java.lang.Object
The request-related information passed toCallCredentials.applyRequestMetadata().
-
-
Constructor Summary
Constructors Constructor Description RequestInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.StringgetAuthority()Returns the authority string used to authenticate the server for this call.abstract MethodDescriptor<?,?>getMethodDescriptor()The method descriptor of this RPC.abstract SecurityLevelgetSecurityLevel()The security level on the transport.abstract AttributesgetTransportAttrs()Returns the transport attributes.
-
-
-
Method Detail
-
getMethodDescriptor
public abstract MethodDescriptor<?,?> getMethodDescriptor()
The method descriptor of this RPC.
-
getSecurityLevel
public abstract SecurityLevel getSecurityLevel()
The security level on the transport.
-
getAuthority
public abstract java.lang.String getAuthority()
Returns the authority string used to authenticate the server for this call.
-
getTransportAttrs
@TransportAttr public abstract Attributes getTransportAttrs()
Returns the transport attributes.
-
-