Class TrailersCapturingInterceptor
java.lang.Object
io.deephaven.web.client.api.barrage.stream.TrailersCapturingInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
Captures the http trailers for a given call and makes them available in the Context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.grpc.Metadata<ReqT,RespT>
io.grpc.ClientCall<ReqT, RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
Constructor Details
-
TrailersCapturingInterceptor
public TrailersCapturingInterceptor()
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCallin interfaceio.grpc.ClientInterceptor
-
getTrailersFromContext
public static io.grpc.Metadata getTrailersFromContext()
-