Class IgnoreCompleteExceptionFutureCallback<T>
- java.lang.Object
-
- org.apache.hc.client5.http.async.methods.IgnoreCompleteExceptionFutureCallback<T>
-
- All Implemented Interfaces:
org.apache.hc.core5.concurrent.FutureCallback<T>
- Direct Known Subclasses:
IgnoreCompleteExceptonFutureCallback
public class IgnoreCompleteExceptionFutureCallback<T> extends java.lang.Object implements org.apache.hc.core5.concurrent.FutureCallback<T>
- Since:
- 5.2
-
-
Constructor Summary
Constructors Constructor Description IgnoreCompleteExceptionFutureCallback(org.apache.hc.core5.concurrent.FutureCallback<T> callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelled()
void
completed(T result)
void
failed(java.lang.Exception ex)
-
-
-
Field Detail
-
callback
private final org.apache.hc.core5.concurrent.FutureCallback<T> callback
-
LOG
private static final org.slf4j.Logger LOG
-
-
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 interfaceorg.apache.hc.core5.concurrent.FutureCallback<T>
-
failed
public void failed(java.lang.Exception ex)
- Specified by:
failed
in interfaceorg.apache.hc.core5.concurrent.FutureCallback<T>
-
cancelled
public void cancelled()
- Specified by:
cancelled
in interfaceorg.apache.hc.core5.concurrent.FutureCallback<T>
-
-