Class PushResponseCommand

  • All Implemented Interfaces:
    org.apache.hc.core5.concurrent.Cancellable, org.apache.hc.core5.reactor.Command

    @Internal
    public final class PushResponseCommand
    extends java.lang.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 
      Constructor Description
      PushResponseCommand​(int streamId)  
    • Constructor Detail

      • PushResponseCommand

        public PushResponseCommand​(int streamId)
    • Method Detail

      • getStreamId

        public int getStreamId()
      • isCancelled

        public boolean isCancelled()
      • cancel

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