Interface HeaderSink

All Known Implementing Classes:
HpackHeaderBlock
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface HeaderSink
Receives decoded HPACK fields in wire order.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(dev.relism.fpr.core.ByteView name, dev.relism.fpr.core.ByteView value, boolean neverIndexed)
    Accepts one field.
  • Method Details

    • accept

      void accept(dev.relism.fpr.core.ByteView name, dev.relism.fpr.core.ByteView value, boolean neverIndexed)
      Accepts one field. The views are valid only for the duration of this call; a sink that needs them afterwards must copy them into storage owned by the stream.