Class PushResponseCommand
- java.lang.Object
-
- org.apache.hc.core5.http2.nio.command.PushResponseCommand
-
- All Implemented Interfaces:
Cancellable,Command
@Internal public final class PushResponseCommand extends java.lang.Object implements Command
Activates the stream reserved with a push promise- Since:
- 5.4
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hc.core5.reactor.Command
Command.Priority
-
-
Constructor Summary
Constructors Constructor Description PushResponseCommand(int streamId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel()Cancels the ongoing operation or process.intgetStreamId()booleanisCancelled()
-
-
-
Method Detail
-
getStreamId
public int getStreamId()
-
isCancelled
public boolean isCancelled()
-
cancel
public boolean cancel()
Description copied from interface:CancellableCancels the ongoing operation or process.- Specified by:
cancelin interfaceCancellable- Returns:
trueif the operation or process has been cancelled as a result of this method call orfalseif it has already been cancelled or not started.
-
-