org.apache.hc.client5.http.async.methods

## Class IgnoreCompleteExceptionFutureCallback<T>

- java.lang.Object
- - org.apache.hc.client5.http.async.methods.IgnoreCompleteExceptionFutureCallback<T>

- Type Parameters:
    `T` - the future result type returned by this callback.
  All Implemented Interfaces:
    org.apache.hc.core5.concurrent.FutureCallback<T>
  Direct Known Subclasses:
    IgnoreCompleteExceptonFutureCallback

      public class IgnoreCompleteExceptionFutureCallback<T>
      extends Object
      implements org.apache.hc.core5.concurrent.FutureCallback<T>

  Since:
    5.2

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IgnoreCompleteExceptionFutureCallback(org.apache.hc.core5.concurrent.FutureCallback<T> callback)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cancelled()`
    `void` | `completed(T result)`
    `void` | `failed(Exception ex)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IgnoreCompleteExceptionFutureCallback

          public IgnoreCompleteExceptionFutureCallback(org.apache.hc.core5.concurrent.FutureCallback<T> callback)

  - ### Method Detail

    - #### completed

          public void completed(T result)

      Specified by:
        `completed` in interface `org.apache.hc.core5.concurrent.FutureCallback<T>`

    - #### failed

          public void failed(Exception ex)

      Specified by:
        `failed` in interface `org.apache.hc.core5.concurrent.FutureCallback<T>`

    - #### cancelled

          public void cancelled()

      Specified by:
        `cancelled` in interface `org.apache.hc.core5.concurrent.FutureCallback<T>`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.