Class PingCommand
- java.lang.Object
-
- org.apache.hc.core5.http2.nio.command.PingCommand
-
- All Implemented Interfaces:
org.apache.hc.core5.concurrent.Cancellable,org.apache.hc.core5.reactor.Command
@Internal public final class PingCommand extends java.lang.Object implements org.apache.hc.core5.reactor.CommandHTTP/2 ping command.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description PingCommand(AsyncPingHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel()AsyncPingHandlergetHandler()
-
-
-
Constructor Detail
-
PingCommand
public PingCommand(AsyncPingHandler handler)
-
-
Method Detail
-
getHandler
public AsyncPingHandler getHandler()
-
cancel
public boolean cancel()
- Specified by:
cancelin interfaceorg.apache.hc.core5.concurrent.Cancellable
-
-