Class PingCommand
java.lang.Object
org.apache.hc.core5.http2.nio.command.PingCommand
- All Implemented Interfaces:
Cancellable
,Command
HTTP/2 ping command.
- Since:
- 5.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hc.core5.reactor.Command
Command.Priority
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
handler
-
-
Constructor Details
-
PingCommand
-
-
Method Details
-
getHandler
-
cancel
public boolean cancel()Description copied from interface:Cancellable
Cancels the ongoing operation or process.- Specified by:
cancel
in interfaceCancellable
- Returns:
true
if the operation or process has been cancelled as a result of this method call orfalse
if it has already been cancelled or not started.
-