Package io.grpc.internal
Class ServerCallInfoImpl<ReqT,RespT>
- java.lang.Object
-
- io.grpc.ServerStreamTracer.ServerCallInfo<ReqT,RespT>
-
- io.grpc.internal.ServerCallInfoImpl<ReqT,RespT>
-
final class ServerCallInfoImpl<ReqT,RespT> extends ServerStreamTracer.ServerCallInfo<ReqT,RespT>
An implementation ofServerStreamTracer.ServerCallInfo
.
-
-
Field Summary
Fields Modifier and Type Field Description private Attributes
attributes
private java.lang.String
authority
private MethodDescriptor<ReqT,RespT>
methodDescriptor
-
Constructor Summary
Constructors Constructor Description ServerCallInfoImpl(MethodDescriptor<ReqT,RespT> methodDescriptor, Attributes attributes, java.lang.String authority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Attributes
getAttributes()
java.lang.String
getAuthority()
MethodDescriptor<ReqT,RespT>
getMethodDescriptor()
int
hashCode()
-
-
-
Field Detail
-
methodDescriptor
private final MethodDescriptor<ReqT,RespT> methodDescriptor
-
attributes
private final Attributes attributes
-
authority
private final java.lang.String authority
-
-
Constructor Detail
-
ServerCallInfoImpl
ServerCallInfoImpl(MethodDescriptor<ReqT,RespT> methodDescriptor, Attributes attributes, @Nullable java.lang.String authority)
-
-
Method Detail
-
getMethodDescriptor
public MethodDescriptor<ReqT,RespT> getMethodDescriptor()
- Specified by:
getMethodDescriptor
in classServerStreamTracer.ServerCallInfo<ReqT,RespT>
-
getAttributes
public Attributes getAttributes()
- Specified by:
getAttributes
in classServerStreamTracer.ServerCallInfo<ReqT,RespT>
-
getAuthority
@Nullable public java.lang.String getAuthority()
- Specified by:
getAuthority
in classServerStreamTracer.ServerCallInfo<ReqT,RespT>
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-