public static class HttpHeaderParser.ModeledHeaderValueParser extends HttpHeaderParser.HeaderValueParser
Constructor and Description |
---|
ModeledHeaderValueParser(java.lang.String headerName,
int maxHeaderValueLength,
int maxValueCount,
org.apache.pekko.event.LoggingAdapter log,
HeaderParser.Settings settings) |
Modifier and Type | Method and Description |
---|---|
scala.Tuple2<HttpHeader,java.lang.Object> |
apply(HttpHeaderParser hhp,
org.apache.pekko.util.ByteString input,
int valueStart,
scala.Function1<ErrorInfo,scala.runtime.BoxedUnit> onIllegalHeader) |
scala.Function1<java.lang.String,HeaderParser.Result> |
parser() |
cachingEnabled, headerName, maxValueCount, toString
public ModeledHeaderValueParser(java.lang.String headerName, int maxHeaderValueLength, int maxValueCount, org.apache.pekko.event.LoggingAdapter log, HeaderParser.Settings settings)
public scala.Tuple2<HttpHeader,java.lang.Object> apply(HttpHeaderParser hhp, org.apache.pekko.util.ByteString input, int valueStart, scala.Function1<ErrorInfo,scala.runtime.BoxedUnit> onIllegalHeader)
apply
in class HttpHeaderParser.HeaderValueParser
public scala.Function1<java.lang.String,HeaderParser.Result> parser()