Class HttpHeaderParser.ModeledHeaderValueParser
java.lang.Object
org.apache.pekko.http.impl.engine.parsing.HttpHeaderParser.HeaderValueParser
org.apache.pekko.http.impl.engine.parsing.HttpHeaderParser.ModeledHeaderValueParser
- Enclosing class:
- HttpHeaderParser
public static class HttpHeaderParser.ModeledHeaderValueParser
extends HttpHeaderParser.HeaderValueParser
- 
Constructor SummaryConstructorsConstructorDescriptionModeledHeaderValueParser(String headerName, int maxHeaderValueLength, int maxValueCount, org.apache.pekko.event.LoggingAdapter log, HeaderParser.Settings settings) 
- 
Method SummaryModifier and TypeMethodDescriptionscala.Tuple2<HttpHeader,Object> apply(HttpHeaderParser hhp, org.apache.pekko.util.ByteString input, int valueStart, scala.Function1<ErrorInfo, scala.runtime.BoxedUnit> onIllegalHeader) scala.Function1<String,HeaderParser.Result> parser()Methods inherited from class org.apache.pekko.http.impl.engine.parsing.HttpHeaderParser.HeaderValueParsercachingEnabled, headerName, maxValueCount, toString
- 
Constructor Details- 
ModeledHeaderValueParserpublic ModeledHeaderValueParser(String headerName, int maxHeaderValueLength, int maxValueCount, org.apache.pekko.event.LoggingAdapter log, HeaderParser.Settings settings) 
 
- 
- 
Method Details- 
applypublic scala.Tuple2<HttpHeader,Object> apply(HttpHeaderParser hhp, org.apache.pekko.util.ByteString input, int valueStart, scala.Function1<ErrorInfo, scala.runtime.BoxedUnit> onIllegalHeader) - Specified by:
- applyin class- HttpHeaderParser.HeaderValueParser
 
- 
parser
 
-