Package org.apache.hc.core5.http.message
Interface ElementTransformation<T>
-
- Type Parameters:
T- type of transformation result object
- 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 ElementTransformation<T>Abstract transformation of an element represented by a subsequence of the givenCharSequencewithin the givenParserCursorbounds into a value object.- Since:
- 5.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tapply(java.lang.CharSequence buffer, ParserCursor cursor)
-
-
-
Method Detail
-
apply
T apply(java.lang.CharSequence buffer, ParserCursor cursor) throws ParseException
- Throws:
ParseException
-
-