Class ContextualizedServerCallListenerEx<ReqT>

java.lang.Object
io.grpc.ServerCall.Listener<ReqT>
io.grpc.ForwardingServerCallListener<ReqT>
io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
org.summerboot.jexpress.nio.grpc.ContextualizedServerCallListenerEx<ReqT>

public class ContextualizedServerCallListenerEx<ReqT> extends io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.ForwardingServerCallListener

    io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.logging.log4j.Logger
     
    protected static String
     
    protected ZoneId
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContextualizedServerCallListenerEx(io.grpc.ServerCall.Listener<ReqT> delegate, io.grpc.Context context, SessionContext sessionContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <ReqT,RespT>
    io.grpc.ServerCall.Listener<ReqT>
    interceptCall(long startTs, Caller caller, String jti, io.grpc.Context context, io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
     
    static boolean
    isPing(String methodName)
     
    void
     
    void
     
    void
     
    void
    onMessage(ReqT message)
     
    void
     
    protected void
     
     

    Methods inherited from class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener

    delegate

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • log

      protected final org.apache.logging.log4j.Logger log
    • zoneId

      protected ZoneId zoneId
    • protectedContectReplaceWith

      protected static String protectedContectReplaceWith
  • Constructor Details

    • ContextualizedServerCallListenerEx

      public ContextualizedServerCallListenerEx(io.grpc.ServerCall.Listener<ReqT> delegate, io.grpc.Context context, SessionContext sessionContext)
  • Method Details

    • interceptCall

      public static <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(long startTs, Caller caller, String jti, io.grpc.Context context, io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
    • isPing

      public static boolean isPing(String methodName)
    • onReady

      public void onReady()
    • onMessage

      public void onMessage(ReqT message)
      Overrides:
      onMessage in class io.grpc.ForwardingServerCallListener<ReqT>
    • onHalfClose

      public void onHalfClose()
    • onCancel

      public void onCancel()
    • onComplete

      public void onComplete()
    • report

      protected void report()
    • toString

      public String toString()
      Overrides:
      toString in class Object