Class ExecutableCommand
- java.lang.Object
-
- org.apache.hc.core5.http.nio.command.ExecutableCommand
-
- All Implemented Interfaces:
Cancellable
,Command
- Direct Known Subclasses:
RequestExecutionCommand
@Internal public abstract class ExecutableCommand extends java.lang.Object implements Command
Abstract executable command that may need to do some cleaning up in case of an failure and also optionally may want to cancel the associated HTTP message exchange throughCancellableDependency
.- Since:
- 5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hc.core5.reactor.Command
Command.Priority
-
-
Constructor Summary
Constructors Constructor Description ExecutableCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
failed(java.lang.Exception ex)
abstract CancellableDependency
getCancellableDependency()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hc.core5.concurrent.Cancellable
cancel
-
-
-
-
Method Detail
-
getCancellableDependency
public abstract CancellableDependency getCancellableDependency()
-
failed
public abstract void failed(java.lang.Exception ex)
-
-