Class TrailersCapturingInterceptor

java.lang.Object
io.deephaven.web.client.api.barrage.stream.TrailersCapturingInterceptor
All Implemented Interfaces:
io.grpc.ClientInterceptor

public class TrailersCapturingInterceptor extends Object implements io.grpc.ClientInterceptor
Captures the http trailers for a given call and makes them available in the Context.
  • 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:
      interceptCall in interface io.grpc.ClientInterceptor
    • getTrailersFromContext

      public static io.grpc.Metadata getTrailersFromContext()