Package io.token.rpc

Class ErrorHandlerFactory

  • All Implemented Interfaces:
    io.token.rpc.interceptor.InterceptorFactory

    public final class ErrorHandlerFactory
    extends java.lang.Object
    implements io.token.rpc.interceptor.InterceptorFactory
    Responsible for creation of ErrorHandler instances which are created per RPC method call.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <ReqT,​ResT>
      io.token.rpc.interceptor.SimpleInterceptor<ReqT,​ResT>
      create​(io.grpc.MethodDescriptor<ReqT,​ResT> ignore)  
      • Methods inherited from class java.lang.Object

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

      • ErrorHandlerFactory

        public ErrorHandlerFactory()
    • Method Detail

      • create

        public <ReqT,​ResT> io.token.rpc.interceptor.SimpleInterceptor<ReqT,​ResT> create​(io.grpc.MethodDescriptor<ReqT,​ResT> ignore)
        Specified by:
        create in interface io.token.rpc.interceptor.InterceptorFactory