Class AbstractBraveClientInterceptor

    • Constructor Detail

      • AbstractBraveClientInterceptor

        protected AbstractBraveClientInterceptor​(String phase,
                                                 brave.http.HttpTracing brave)
    • Method Detail

      • getAfter

        public Set<String> getAfter()
        Description copied from interface: PhaseInterceptor
        Returns a set containing the IDs of the interceptors that should be executed before this interceptor. This interceptor will be placed in the chain after the interceptors in the set.
        Specified by:
        getAfter in interface PhaseInterceptor<Message>
        Returns:
        the IDs of the interceptors
      • getBefore

        public Set<String> getBefore()
        Description copied from interface: PhaseInterceptor
        Returns a set containing the IDs of the interceptors that should be executed after this interceptor. This interceptor will be placed in the inteceptor chain before the interceptors in the set.
        Specified by:
        getBefore in interface PhaseInterceptor<Message>
        Returns:
        the ids of the interceptors
      • handleFault

        public void handleFault​(Message message)
        Description copied from interface: Interceptor
        Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
        Specified by:
        handleFault in interface Interceptor<Message>