Class RestClient.FailureListener

  • Enclosing class:
    RestClient

    public static class RestClient.FailureListener
    extends Object
    Listener that allows to be notified whenever a failure happens. Useful when sniffing is enabled, so that we can sniff on failure. The default implementation is a no-op.
    • Constructor Detail

      • FailureListener

        public FailureListener()
    • Method Detail

      • onFailure

        public void onFailure​(Node node)
        Notifies that the node provided as argument has just failed