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
     
    default void
     
  • Method Details

    • demand

      void demand()
    • setNextDemand

      default void setNextDemand(DemandChain nextDemand)