Package akka.http.impl.settings
Class ParserSettingsImpl
- java.lang.Object
-
- All Implemented Interfaces:
java.io.Serializable,scala.Equals,scala.Product
public final class ParserSettingsImpl extends ParserSettings implements scala.Product, java.io.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.settings.ParserSettings
ParserSettings.ConflictingContentTypeHeaderProcessingMode, ParserSettings.ConflictingContentTypeHeaderProcessingMode$, ParserSettings.CookieParsingMode, ParserSettings.CookieParsingMode$, ParserSettings.ErrorLoggingVerbosity, ParserSettings.ErrorLoggingVerbosity$, ParserSettings.IllegalResponseHeaderNameProcessingMode, ParserSettings.IllegalResponseHeaderNameProcessingMode$, ParserSettings.IllegalResponseHeaderValueProcessingMode, ParserSettings.IllegalResponseHeaderValueProcessingMode$
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
-
Methods inherited from class akka.http.scaladsl.settings.ParserSettings
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
-
Methods inherited from class akka.http.javadsl.settings.ParserSettings
create, create, create, withCookieParsingMode, withCustomMediaTypes, withCustomMediaTypes, withCustomMethods, withCustomMethods, withCustomStatusCodes, withCustomStatusCodes, withErrorLoggingVerbosity, withHeaderValueCacheLimits, withUriParsingMode
-
-
-
-
Constructor Detail
-
ParserSettingsImpl
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)
-
-
Method Detail
-
noCustomMediaTypes
public static scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> noCustomMediaTypes()
-
forServer
public static ParserSettings forServer(com.typesafe.config.Config root)
-
fromSubConfig
public static ParserSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)
-
prefix
protected static java.lang.String prefix()
-
apply
public static T apply(akka.actor.ActorSystem system)
-
apply
public static T apply(java.lang.String configOverrides)
-
apply
public static T apply(com.typesafe.config.Config config)
-
maxUriLength
public int maxUriLength()
- Specified by:
maxUriLengthin classParserSettings
-
maxMethodLength
public int maxMethodLength()
- Specified by:
maxMethodLengthin classParserSettings
-
maxResponseReasonLength
public int maxResponseReasonLength()
- Specified by:
maxResponseReasonLengthin classParserSettings
-
maxHeaderNameLength
public int maxHeaderNameLength()
- Specified by:
maxHeaderNameLengthin classParserSettings
-
maxHeaderValueLength
public int maxHeaderValueLength()
- Specified by:
maxHeaderValueLengthin classParserSettings
-
maxHeaderCount
public int maxHeaderCount()
- Specified by:
maxHeaderCountin classParserSettings
-
maxContentLengthSetting
public scala.Option<java.lang.Object> maxContentLengthSetting()
-
maxToStrictBytes
public long maxToStrictBytes()
- Specified by:
maxToStrictBytesin classParserSettings
-
maxChunkExtLength
public int maxChunkExtLength()
- Specified by:
maxChunkExtLengthin classParserSettings
-
maxChunkSize
public int maxChunkSize()
- Specified by:
maxChunkSizein classParserSettings
-
maxCommentParsingDepth
public int maxCommentParsingDepth()
- Specified by:
maxCommentParsingDepthin classParserSettings
-
uriParsingMode
public Uri.ParsingMode uriParsingMode()
- Specified by:
uriParsingModein classParserSettings
-
cookieParsingMode
public ParserSettings.CookieParsingMode cookieParsingMode()
- Specified by:
cookieParsingModein classParserSettings
-
illegalHeaderWarnings
public boolean illegalHeaderWarnings()
- Specified by:
illegalHeaderWarningsin classParserSettings
-
ignoreIllegalHeaderFor
public scala.collection.immutable.Set<java.lang.String> ignoreIllegalHeaderFor()
- Specified by:
ignoreIllegalHeaderForin classParserSettings
-
errorLoggingVerbosity
public ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity()
- Specified by:
errorLoggingVerbosityin classParserSettings
-
illegalResponseHeaderNameProcessingMode
public ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode()
- Specified by:
illegalResponseHeaderNameProcessingModein classParserSettings
-
illegalResponseHeaderValueProcessingMode
public ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode()
- Specified by:
illegalResponseHeaderValueProcessingModein classParserSettings
-
conflictingContentTypeHeaderProcessingMode
public ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode()
- Specified by:
conflictingContentTypeHeaderProcessingModein classParserSettings
-
headerValueCacheLimits
public scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits()
- Specified by:
headerValueCacheLimitsin classParserSettings
-
includeTlsSessionInfoHeader
public boolean includeTlsSessionInfoHeader()
- Specified by:
includeTlsSessionInfoHeaderin classParserSettings
-
includeSslSessionAttribute
public boolean includeSslSessionAttribute()
- Specified by:
includeSslSessionAttributein classParserSettings
-
modeledHeaderParsing
public boolean modeledHeaderParsing()
- Specified by:
modeledHeaderParsingin classParserSettings
-
customMethods
public scala.Function1<java.lang.String,scala.Option<HttpMethod>> customMethods()
- Specified by:
customMethodsin classParserSettings
-
customStatusCodes
public scala.Function1<java.lang.Object,scala.Option<StatusCode>> customStatusCodes()
- Specified by:
customStatusCodesin classParserSettings
-
customMediaTypes
public scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> customMediaTypes()
- Specified by:
customMediaTypesin classParserSettings
-
defaultHeaderValueCacheLimit
public int defaultHeaderValueCacheLimit()
- Specified by:
defaultHeaderValueCacheLimitin classBodyPartParser.Settings
-
headerValueCacheLimit
public int headerValueCacheLimit(java.lang.String headerName)
- Specified by:
headerValueCacheLimitin classHttpHeaderParser.Settings
-
maxContentLength
public long maxContentLength()
- Specified by:
maxContentLengthin classParserSettings
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
-