Interface Http1HeaderNaming

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 Http1HeaderNaming
Converts a normalized HTTP/2 header name to another HTTP/1 header name.
  • Method Summary

    Modifier and Type Method Description
    String convert​(AsciiString http2HeaderName)
    Converts the specified HTTP/2 headerName into another HTTP/1 header name.
    static Http1HeaderNaming traditional()
    Converts lower-cased HTTP/2 header names to the traditional HTTP/1 header names which are defined at HttpHeaderNames.
  • Method Details