public final class ParserSettingsImpl extends ParserSettings implements scala.Product, scala.Serializable
ParserSettings.CookieParsingMode, ParserSettings.CookieParsingMode$, ParserSettings.ErrorLoggingVerbosity, ParserSettings.ErrorLoggingVerbosity$, ParserSettings.IllegalResponseHeaderValueProcessingMode, ParserSettings.IllegalResponseHeaderValueProcessingMode$
Constructor and Description |
---|
ParserSettingsImpl(int maxUriLength,
int maxMethodLength,
int maxResponseReasonLength,
int maxHeaderNameLength,
int maxHeaderValueLength,
int maxHeaderCount,
long maxContentLength,
long maxToStrictBytes,
int maxChunkExtLength,
int maxChunkSize,
Uri.ParsingMode uriParsingMode,
ParserSettings.CookieParsingMode cookieParsingMode,
boolean illegalHeaderWarnings,
ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity,
ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode,
scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits,
boolean includeTlsSessionInfoHeader,
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) |
Modifier and Type | Method and Description |
---|---|
static T |
apply(akka.actor.ActorSystem system) |
static T |
apply(com.typesafe.config.Config config) |
static T |
apply(java.lang.String configOverrides) |
ParserSettings.CookieParsingMode |
cookieParsingMode() |
scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> |
customMediaTypes() |
scala.Function1<java.lang.String,scala.Option<HttpMethod>> |
customMethods() |
scala.Function1<java.lang.Object,scala.Option<StatusCode>> |
customStatusCodes() |
int |
defaultHeaderValueCacheLimit() |
ParserSettings.ErrorLoggingVerbosity |
errorLoggingVerbosity() |
static ParserSettingsImpl |
fromSubConfig(com.typesafe.config.Config root,
com.typesafe.config.Config inner) |
int |
headerValueCacheLimit(java.lang.String headerName) |
scala.collection.immutable.Map<java.lang.String,java.lang.Object> |
headerValueCacheLimits() |
boolean |
illegalHeaderWarnings() |
ParserSettings.IllegalResponseHeaderValueProcessingMode |
illegalResponseHeaderValueProcessingMode() |
boolean |
includeTlsSessionInfoHeader() |
int |
maxChunkExtLength() |
int |
maxChunkSize() |
long |
maxContentLength() |
int |
maxHeaderCount() |
int |
maxHeaderNameLength() |
int |
maxHeaderValueLength() |
int |
maxMethodLength() |
int |
maxResponseReasonLength() |
long |
maxToStrictBytes() |
int |
maxUriLength() |
boolean |
modeledHeaderParsing() |
static scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> |
noCustomMediaTypes() |
protected static java.lang.String |
prefix() |
java.lang.String |
productPrefix() |
Uri.ParsingMode |
uriParsingMode() |
getCookieParsingMode, getCustomMediaTypes, getCustomMethods, getCustomStatusCodes, getErrorLoggingVerbosity, getHeaderValueCacheLimits, getIllegalHeaderWarnings, getIllegalResponseHeaderValueProcessingMode, getIncludeTlsSessionInfoHeader, getMaxChunkExtLength, getMaxChunkSize, getMaxContentLength, getMaxHeaderCount, getMaxHeaderNameLength, getMaxHeaderValueLength, getMaxMethodLength, getMaxResponseReasonLength, getMaxToStrictBytes, getMaxUriLength, getModeledHeaderParsing, getUriParsingMode, withCookieParsingMode, withCustomMediaTypes, withCustomMethods, withCustomStatusCodes, withErrorLoggingVerbosity, withHeaderValueCacheLimits, withIllegalHeaderWarnings, withIllegalResponseHeaderValueProcessingMode, withIncludeTlsSessionInfoHeader, withMaxChunkExtLength, withMaxChunkSize, 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, long maxContentLength, long maxToStrictBytes, int maxChunkExtLength, int maxChunkSize, Uri.ParsingMode uriParsingMode, ParserSettings.CookieParsingMode cookieParsingMode, boolean illegalHeaderWarnings, ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity, ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode, scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits, boolean includeTlsSessionInfoHeader, 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 ParserSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)
protected static java.lang.String prefix()
public static T apply(akka.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 long maxContentLength()
maxContentLength
in class ParserSettings
public long maxToStrictBytes()
maxToStrictBytes
in class ParserSettings
public int maxChunkExtLength()
maxChunkExtLength
in class ParserSettings
public int maxChunkSize()
maxChunkSize
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 ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity()
errorLoggingVerbosity
in class ParserSettings
public ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode()
illegalResponseHeaderValueProcessingMode
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 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 java.lang.String productPrefix()
productPrefix
in interface scala.Product