Class PushResponseCommand
java.lang.Object
org.apache.hc.core5.http2.nio.command.PushResponseCommand
- All Implemented Interfaces:
Cancellable, Command
-
Nested Class Summary
Nested classes/interfaces inherited from interface Command
Command.Priority -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancel()Cancels the ongoing operation or process.intboolean
-
Field Details
-
streamId
private final int streamId -
cancelled
-
-
Constructor Details
-
PushResponseCommand
public PushResponseCommand(int streamId)
-
-
Method Details
-
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.
-