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
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(java.lang.CharSequence buffer, org.apache.hc.core5.http.message.ParserCursor cursor)  
    • Method Detail

      • accept

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