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, withUriParsingMode
create, create, create, withCookieParsingMode, withCustomMediaTypes, withCustomMediaTypes, withCustomMethods, withCustomMethods, withCustomStatusCodes, withCustomStatusCodes, withErrorLoggingVerbosity, withHeaderValueCacheLimits, withUriParsingMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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 ParserSettings
public int maxMethodLength()
maxMethodLength
in class ParserSettings
public int maxResponseReasonLength()
maxResponseReasonLength
in class ParserSettings
public int maxHeaderNameLength()
maxHeaderNameLength
in class ParserSettings
public int maxHeaderValueLength()
maxHeaderValueLength
in class ParserSettings
public int maxHeaderCount()
maxHeaderCount
in class ParserSettings
public scala.Option<java.lang.Object> maxContentLengthSetting()
public long maxToStrictBytes()
maxToStrictBytes
in class ParserSettings
public int maxChunkExtLength()
maxChunkExtLength
in class ParserSettings
public int maxChunkSize()
maxChunkSize
in class ParserSettings
public int maxCommentParsingDepth()
maxCommentParsingDepth
in class ParserSettings
public Uri.ParsingMode uriParsingMode()
uriParsingMode
in class ParserSettings
public ParserSettings.CookieParsingMode cookieParsingMode()
cookieParsingMode
in class ParserSettings
public boolean illegalHeaderWarnings()
illegalHeaderWarnings
in class ParserSettings
public scala.collection.immutable.Set<java.lang.String> ignoreIllegalHeaderFor()
ignoreIllegalHeaderFor
in class ParserSettings
public ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity()
errorLoggingVerbosity
in class ParserSettings
public ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode()
illegalResponseHeaderNameProcessingMode
in class ParserSettings
public ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode()
illegalResponseHeaderValueProcessingMode
in class ParserSettings
public ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode()
conflictingContentTypeHeaderProcessingMode
in class ParserSettings
public scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits()
headerValueCacheLimits
in class ParserSettings
public boolean includeTlsSessionInfoHeader()
includeTlsSessionInfoHeader
in class ParserSettings
public boolean includeSslSessionAttribute()
includeSslSessionAttribute
in class ParserSettings
public boolean modeledHeaderParsing()
modeledHeaderParsing
in class ParserSettings
public scala.Function1<java.lang.String,scala.Option<HttpMethod>> customMethods()
customMethods
in class ParserSettings
public scala.Function1<java.lang.Object,scala.Option<StatusCode>> customStatusCodes()
customStatusCodes
in class ParserSettings
public scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> customMediaTypes()
customMediaTypes
in class ParserSettings
public int defaultHeaderValueCacheLimit()
defaultHeaderValueCacheLimit
in class BodyPartParser.Settings
public int headerValueCacheLimit(java.lang.String headerName)
headerValueCacheLimit
in class HttpHeaderParser.Settings
public long maxContentLength()
maxContentLength
in class ParserSettings
public java.lang.String productPrefix()
productPrefix
in interface scala.Product