Class PushResponseCommand
java.lang.Object
org.apache.hc.core5.http2.nio.command.PushResponseCommand
- All Implemented Interfaces:
org.apache.hc.core5.concurrent.Cancellable, org.apache.hc.core5.reactor.Command
@Internal
public final class PushResponseCommand
extends Object
implements org.apache.hc.core5.reactor.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
org.apache.hc.core5.reactor.Command.Priority -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PushResponseCommand
public PushResponseCommand(int streamId)
-
-
Method Details
-
getStreamId
public int getStreamId() -
isCancelled
public boolean isCancelled() -
cancel
public boolean cancel()- Specified by:
cancelin interfaceorg.apache.hc.core5.concurrent.Cancellable
-