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:
maxUriLength
in classParserSettings
-
maxMethodLength
public int maxMethodLength()
- Specified by:
maxMethodLength
in classParserSettings
-
maxResponseReasonLength
public int maxResponseReasonLength()
- Specified by:
maxResponseReasonLength
in classParserSettings
-
maxHeaderNameLength
public int maxHeaderNameLength()
- Specified by:
maxHeaderNameLength
in classParserSettings
-
maxHeaderValueLength
public int maxHeaderValueLength()
- Specified by:
maxHeaderValueLength
in classParserSettings
-
maxHeaderCount
public int maxHeaderCount()
- Specified by:
maxHeaderCount
in classParserSettings
-
maxContentLengthSetting
public scala.Option<java.lang.Object> maxContentLengthSetting()
-
maxToStrictBytes
public long maxToStrictBytes()
- Specified by:
maxToStrictBytes
in classParserSettings
-
maxChunkExtLength
public int maxChunkExtLength()
- Specified by:
maxChunkExtLength
in classParserSettings
-
maxChunkSize
public int maxChunkSize()
- Specified by:
maxChunkSize
in classParserSettings
-
maxCommentParsingDepth
public int maxCommentParsingDepth()
- Specified by:
maxCommentParsingDepth
in classParserSettings
-
uriParsingMode
public Uri.ParsingMode uriParsingMode()
- Specified by:
uriParsingMode
in classParserSettings
-
cookieParsingMode
public ParserSettings.CookieParsingMode cookieParsingMode()
- Specified by:
cookieParsingMode
in classParserSettings
-
illegalHeaderWarnings
public boolean illegalHeaderWarnings()
- Specified by:
illegalHeaderWarnings
in classParserSettings
-
ignoreIllegalHeaderFor
public scala.collection.immutable.Set<java.lang.String> ignoreIllegalHeaderFor()
- Specified by:
ignoreIllegalHeaderFor
in classParserSettings
-
errorLoggingVerbosity
public ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity()
- Specified by:
errorLoggingVerbosity
in classParserSettings
-
illegalResponseHeaderNameProcessingMode
public ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode()
- Specified by:
illegalResponseHeaderNameProcessingMode
in classParserSettings
-
illegalResponseHeaderValueProcessingMode
public ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode()
- Specified by:
illegalResponseHeaderValueProcessingMode
in classParserSettings
-
conflictingContentTypeHeaderProcessingMode
public ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode()
- Specified by:
conflictingContentTypeHeaderProcessingMode
in classParserSettings
-
headerValueCacheLimits
public scala.collection.immutable.Map<java.lang.String,java.lang.Object> headerValueCacheLimits()
- Specified by:
headerValueCacheLimits
in classParserSettings
-
includeTlsSessionInfoHeader
public boolean includeTlsSessionInfoHeader()
- Specified by:
includeTlsSessionInfoHeader
in classParserSettings
-
includeSslSessionAttribute
public boolean includeSslSessionAttribute()
- Specified by:
includeSslSessionAttribute
in classParserSettings
-
modeledHeaderParsing
public boolean modeledHeaderParsing()
- Specified by:
modeledHeaderParsing
in classParserSettings
-
customMethods
public scala.Function1<java.lang.String,scala.Option<HttpMethod>> customMethods()
- Specified by:
customMethods
in classParserSettings
-
customStatusCodes
public scala.Function1<java.lang.Object,scala.Option<StatusCode>> customStatusCodes()
- Specified by:
customStatusCodes
in classParserSettings
-
customMediaTypes
public scala.Function2<java.lang.String,java.lang.String,scala.Option<MediaType>> customMediaTypes()
- Specified by:
customMediaTypes
in classParserSettings
-
defaultHeaderValueCacheLimit
public int defaultHeaderValueCacheLimit()
- Specified by:
defaultHeaderValueCacheLimit
in classBodyPartParser.Settings
-
headerValueCacheLimit
public int headerValueCacheLimit(java.lang.String headerName)
- Specified by:
headerValueCacheLimit
in classHttpHeaderParser.Settings
-
maxContentLength
public long maxContentLength()
- Specified by:
maxContentLength
in classParserSettings
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
-