Class GRpcErrorHandler

java.lang.Object
org.lognet.springboot.grpc.GRpcErrorHandler

@Deprecated public class GRpcErrorHandler extends Object
Deprecated.
Please use GRpcExceptionHandler instead
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.grpc.Status
    handle​(io.grpc.Status status, Exception exception, io.grpc.Metadata requestHeaders, io.grpc.Metadata responseHeaders)
    Deprecated.
     
    io.grpc.Status
    handle​(Object message, io.grpc.Status status, Exception exception, io.grpc.Metadata requestHeaders, io.grpc.Metadata responseHeaders)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GRpcErrorHandler

      public GRpcErrorHandler()
      Deprecated.
  • Method Details

    • handle

      public io.grpc.Status handle(io.grpc.Status status, Exception exception, io.grpc.Metadata requestHeaders, io.grpc.Metadata responseHeaders)
      Deprecated.
      Parameters:
      status -
      exception -
      requestHeaders -
      responseHeaders - - to be filled by implementor with trails meant to be sent to client
      Returns:
    • handle

      public io.grpc.Status handle(Object message, io.grpc.Status status, Exception exception, io.grpc.Metadata requestHeaders, io.grpc.Metadata responseHeaders)
      Deprecated.
      Parameters:
      message - - request message
      status -
      exception -
      requestHeaders -
      responseHeaders - - to be filled by implementor with trails meant to be sent to client
      Returns: