Class BrowserStreamInterceptor

java.lang.Object
io.deephaven.server.browserstreaming.BrowserStreamInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor

public class BrowserStreamInterceptor extends Object implements io.grpc.ServerInterceptor
Interceptor to notice x-deephaven-stream headers in a request and provide them to later parts of BrowserStream tooling so that unary and server-streaming calls can be combined into an emulated bidirectional stream.
  • Field Details

  • Constructor Details

    • BrowserStreamInterceptor

      public BrowserStreamInterceptor()
  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
      Specified by:
      interceptCall in interface io.grpc.ServerInterceptor