Interface ResponseSerializer.FieldConsumer

All Known Implementing Classes:
Http2ResponseWriter
Enclosing class:
ResponseSerializer
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 static interface ResponseSerializer.FieldConsumer
One rendered header field: a byte range for the name, and a byte range for the value — both slices of caller-owned arrays, never copied.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(byte[] nameBuf, int nameOff, int nameLen, byte[] valueBuf, int valueOff, int valueLen)
     
  • Method Details

    • accept

      void accept(byte[] nameBuf, int nameOff, int nameLen, byte[] valueBuf, int valueOff, int valueLen)