Interface ProtocolSwitchStrategy.HeaderConsumer

Enclosing class:
ProtocolSwitchStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface private static interface ProtocolSwitchStrategy.HeaderConsumer
Since:
5.4
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(CharSequence buffer, org.apache.hc.core5.http.message.ParserCursor cursor)
     
  • Method Details

    • accept

      void accept(CharSequence buffer, org.apache.hc.core5.http.message.ParserCursor cursor) throws org.apache.hc.core5.http.ProtocolException
      Throws:
      org.apache.hc.core5.http.ProtocolException