类 GenericImplFilter

    • 构造器详细资料

      • GenericImplFilter

        public GenericImplFilter()
    • 方法详细资料

      • onResponse

        public void onResponse​(Result appResponse,
                               Invoker<?> invoker,
                               Invocation invocation)
        从接口复制的说明: BaseFilter.Listener
        This method will only be called on successful remote rpc execution, that means, the service in on remote received the request and the result (normal or exceptional) returned successfully.
        指定者:
        onResponse 在接口中 BaseFilter.Listener
        参数:
        appResponse - , the rpc call result, it can represent both normal result and exceptional result
        invoker - , context
        invocation - , context
      • onError

        public void onError​(Throwable t,
                            Invoker<?> invoker,
                            Invocation invocation)
        从接口复制的说明: BaseFilter.Listener
        This method will be called on detection of framework exceptions, for example, TimeoutException, NetworkException Exception raised in Filters, etc.
        指定者:
        onError 在接口中 BaseFilter.Listener
        参数:
        t - , framework exception
        invoker - , context
        invocation - , context