Class PingCommand

java.lang.Object
org.apache.hc.core5.http2.nio.command.PingCommand
All Implemented Interfaces:
Cancellable, Command

@Internal public final class PingCommand extends Object implements Command
HTTP/2 ping command.
Since:
5.0
  • Field Details

  • Constructor Details

  • Method Details

    • getHandler

      public AsyncPingHandler getHandler()
    • cancel

      public boolean cancel()
      Description copied from interface: Cancellable
      Cancels the ongoing operation or process.
      Specified by:
      cancel in interface Cancellable
      Returns:
      true if the operation or process has been cancelled as a result of this method call or false if it has already been cancelled or not started.