as.leap.vertx.rpc

Interface RPCHook



  • public interface RPCHook
    All the hook will be running with worker thread. Since we assume your code would be execute some blocking method, eg: logger, generate UUID and get timeStamp from System. Created by stream.
    • Method Detail

      • beforeHandler

        void beforeHandler(String interfaceName,                   String methodName,                   Object[] args,                   io.vertx.core.MultiMap header)
        Parameters:
        interfaceName - target interface
        methodName - method name
        args - args
        header - header for deliverOption
      • afterHandler

        void afterHandler(Object response,                  io.vertx.core.MultiMap header)
        Parameters:
        response - return result
        header - header for deliverOption in request
      • afterHandler

        void afterHandler(Throwable throwable,                  io.vertx.core.MultiMap header)
        Parameters:
        throwable - throwable
        header - header for deliverOption in request

Copyright © 2016. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14