Package org.apache.hc.core5.http.message
Interface ElementConsumer
-
- 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 ElementConsumerAbstract consumer of elements represented by a subsequence of the givenCharSequencewithin the givenParserCursorbounds.- Since:
- 5.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(java.lang.CharSequence buffer, ParserCursor cursor)
-
-
-
Method Detail
-
accept
void accept(java.lang.CharSequence buffer, ParserCursor cursor) throws ParseException- Throws:
ParseException
-
-