public final class ParserSettingsImpl extends ParserSettings implements scala.Product, java.io.Serializable
ParserSettings.ConflictingContentTypeHeaderProcessingMode, ParserSettings.ConflictingContentTypeHeaderProcessingMode$, ParserSettings.CookieParsingMode, ParserSettings.CookieParsingMode$, ParserSettings.ErrorLoggingVerbosity, ParserSettings.ErrorLoggingVerbosity$, ParserSettings.IllegalResponseHeaderNameProcessingMode, ParserSettings.IllegalResponseHeaderNameProcessingMode$, ParserSettings.IllegalResponseHeaderValueProcessingMode, ParserSettings.IllegalResponseHeaderValueProcessingMode$| Constructor and Description |
|---|
ParserSettingsImpl(int maxUriLength,
int maxMethodLength,
int maxResponseReasonLength,
int maxHeaderNameLength,
int maxHeaderValueLength,
int maxHeaderCount,
scala.Option<java.lang.Object> maxContentLengthSetting,
long maxToStrictBytes,
int maxChunkExtLength,
int maxChunkSize,
int maxCommentParsingDepth,
Uri.ParsingMode uriParsingMode,
ParserSettings.CookieParsingMode cookieParsingMode,
boolean illegalHeaderWarnings,
scala.collection.immutable.Set<java.lang.String> ignoreIllegalHeaderFor,
ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity,
ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode,
ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode,
ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode,
scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits,
boolean includeTlsSessionInfoHeader,
boolean includeSslSessionAttribute,
boolean modeledHeaderParsing,
scala.Function1<java.lang.String,scala.Option<HttpMethod>> customMethods,
scala.Function1<java.lang.Object,scala.Option<StatusCode>> customStatusCodes,
scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> customMediaTypes) |
forClient, forServer, getConflictingContentTypeHeaderProcessingMode, getCookieParsingMode, getCustomMediaTypes, getCustomMethods, getCustomStatusCodes, getErrorLoggingVerbosity, getHeaderValueCacheLimits, getIgnoreIllegalHeaderFor, getIllegalHeaderWarnings, getIllegalResponseHeaderNameProcessingMode, getIllegalResponseHeaderValueProcessingMode, getIncludeSslSessionAttribute, getIncludeTlsSessionInfoHeader, getMaxChunkExtLength, getMaxChunkSize, getMaxCommentParsingDepth, getMaxContentLength, getMaxHeaderCount, getMaxHeaderNameLength, getMaxHeaderValueLength, getMaxMethodLength, getMaxResponseReasonLength, getMaxToStrictBytes, getMaxUriLength, getModeledHeaderParsing, getUriParsingMode, withConflictingContentTypeHeaderProcessingMode, withCookieParsingMode, withCustomMediaTypes, withCustomMethods, withCustomStatusCodes, withErrorLoggingVerbosity, withHeaderValueCacheLimits, withIgnoreIllegalHeaderFor, withIllegalHeaderWarnings, withIllegalResponseHeaderNameProcessingMode, withIllegalResponseHeaderValueProcessingMode, withIncludeSslSessionAttribute, withIncludeTlsSessionInfoHeader, withMaxChunkExtLength, withMaxChunkSize, withMaxCommentParsingDepth, withMaxContentLength, withMaxContentLength, withMaxHeaderCount, withMaxHeaderNameLength, withMaxHeaderValueLength, withMaxMethodLength, withMaxResponseReasonLength, withMaxToStrictBytes, withMaxUriLength, withModeledHeaderParsing, withUriParsingModecreate, create, create, withCookieParsingMode, withCustomMediaTypes, withCustomMediaTypes, withCustomMethods, withCustomMethods, withCustomStatusCodes, withCustomStatusCodes, withErrorLoggingVerbosity, withHeaderValueCacheLimits, withUriParsingModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ParserSettingsImpl(int maxUriLength,
int maxMethodLength,
int maxResponseReasonLength,
int maxHeaderNameLength,
int maxHeaderValueLength,
int maxHeaderCount,
scala.Option<java.lang.Object> maxContentLengthSetting,
long maxToStrictBytes,
int maxChunkExtLength,
int maxChunkSize,
int maxCommentParsingDepth,
Uri.ParsingMode uriParsingMode,
ParserSettings.CookieParsingMode cookieParsingMode,
boolean illegalHeaderWarnings,
scala.collection.immutable.Set<java.lang.String> ignoreIllegalHeaderFor,
ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity,
ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode,
ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode,
ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode,
scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits,
boolean includeTlsSessionInfoHeader,
boolean includeSslSessionAttribute,
boolean modeledHeaderParsing,
scala.Function1<java.lang.String,scala.Option<HttpMethod>> customMethods,
scala.Function1<java.lang.Object,scala.Option<StatusCode>> customStatusCodes,
scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> customMediaTypes)
public static scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> noCustomMediaTypes()
public static ParserSettings forServer(com.typesafe.config.Config root)
public static ParserSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)
protected static java.lang.String prefix()
public static T apply(org.apache.pekko.actor.ActorSystem system)
public static T apply(java.lang.String configOverrides)
public static T apply(com.typesafe.config.Config config)
public int maxUriLength()
maxUriLength in class ParserSettingspublic int maxMethodLength()
maxMethodLength in class ParserSettingspublic int maxResponseReasonLength()
maxResponseReasonLength in class ParserSettingspublic int maxHeaderNameLength()
maxHeaderNameLength in class ParserSettingspublic int maxHeaderValueLength()
maxHeaderValueLength in class ParserSettingspublic int maxHeaderCount()
maxHeaderCount in class ParserSettingspublic scala.Option<java.lang.Object> maxContentLengthSetting()
public long maxToStrictBytes()
maxToStrictBytes in class ParserSettingspublic int maxChunkExtLength()
maxChunkExtLength in class ParserSettingspublic int maxChunkSize()
maxChunkSize in class ParserSettingspublic int maxCommentParsingDepth()
maxCommentParsingDepth in class ParserSettingspublic Uri.ParsingMode uriParsingMode()
uriParsingMode in class ParserSettingspublic ParserSettings.CookieParsingMode cookieParsingMode()
cookieParsingMode in class ParserSettingspublic boolean illegalHeaderWarnings()
illegalHeaderWarnings in class ParserSettingspublic scala.collection.immutable.Set<java.lang.String> ignoreIllegalHeaderFor()
ignoreIllegalHeaderFor in class ParserSettingspublic ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity()
errorLoggingVerbosity in class ParserSettingspublic ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode()
illegalResponseHeaderNameProcessingMode in class ParserSettingspublic ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode()
illegalResponseHeaderValueProcessingMode in class ParserSettingspublic ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode()
conflictingContentTypeHeaderProcessingMode in class ParserSettingspublic scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits()
headerValueCacheLimits in class ParserSettingspublic boolean includeTlsSessionInfoHeader()
includeTlsSessionInfoHeader in class ParserSettingspublic boolean includeSslSessionAttribute()
includeSslSessionAttribute in class ParserSettingspublic boolean modeledHeaderParsing()
modeledHeaderParsing in class ParserSettingspublic scala.Function1<java.lang.String,scala.Option<HttpMethod>> customMethods()
customMethods in class ParserSettingspublic scala.Function1<java.lang.Object,scala.Option<StatusCode>> customStatusCodes()
customStatusCodes in class ParserSettingspublic scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> customMediaTypes()
customMediaTypes in class ParserSettingspublic int defaultHeaderValueCacheLimit()
defaultHeaderValueCacheLimit in class BodyPartParser.Settingspublic int headerValueCacheLimit(java.lang.String headerName)
headerValueCacheLimit in class HttpHeaderParser.Settingspublic long maxContentLength()
maxContentLength in class ParserSettingspublic java.lang.String productPrefix()
productPrefix in interface scala.Product