Package dev.relism.flash.http2.hpack
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.
Receives decoded HPACK fields in wire order.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(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.
-