Interface Request.FailureListener

All Superinterfaces:
EventListener, Request.RequestListener
All Known Subinterfaces:
Request.Listener
All Known Implementing Classes:
Request.Listener.Adapter
Enclosing interface:
Request

@Deprecated(since="2021-05-27") public static interface Request.FailureListener extends Request.RequestListener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Listener for the request failed event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFailure(Request request, Throwable failure)
    Deprecated.
    Callback method invoked when the request has failed to be sent
  • Method Details

    • onFailure

      void onFailure(Request request, Throwable failure)
      Deprecated.
      Callback method invoked when the request has failed to be sent
      Parameters:
      request - the request that failed
      failure - the failure