Class GRpcErrorHandler


  • public class GRpcErrorHandler
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.grpc.Status handle​(io.grpc.Status status, java.lang.Exception exception, io.grpc.Metadata requestHeaders, io.grpc.Metadata responseHeaders)  
      io.grpc.Status handle​(java.lang.Object message, io.grpc.Status status, java.lang.Exception exception, io.grpc.Metadata requestHeaders, io.grpc.Metadata responseHeaders)  
      • Methods inherited from class java.lang.Object

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

      • GRpcErrorHandler

        public GRpcErrorHandler()
    • Method Detail

      • handle

        public io.grpc.Status handle​(io.grpc.Status status,
                                     java.lang.Exception exception,
                                     io.grpc.Metadata requestHeaders,
                                     io.grpc.Metadata responseHeaders)
        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​(java.lang.Object message,
                                     io.grpc.Status status,
                                     java.lang.Exception exception,
                                     io.grpc.Metadata requestHeaders,
                                     io.grpc.Metadata responseHeaders)
        Parameters:
        message - - request message
        status -
        exception -
        requestHeaders -
        responseHeaders - - to be filled by implementor with trails meant to be sent to client
        Returns: