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
  • Constructor Details

    • PushResponseCommand

      public PushResponseCommand(int streamId)
  • Method Details

    • getStreamId

      public int getStreamId()
    • isCancelled

      public boolean isCancelled()
    • cancel

      public boolean cancel()
      Specified by:
      cancel in interface org.apache.hc.core5.concurrent.Cancellable