Interface DemandChain

All Known Implementing Classes:
DemandingFlusher, FragmentExtension, FragmentExtension.FragmentingDemandingFlusher, PerMessageDeflateExtension

public interface DemandChain
This is extended by an Extension so it can intercept demand calls. Demand is called by the application and the call is forwarded through the ExtensionStack for every Extension which implements this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    demand(long n)
     
    default void
     
  • Method Details

    • demand

      void demand(long n)
    • setNextDemand

      default void setNextDemand(LongConsumer nextDemand)