Package akka.http.impl.settings
Class ParserSettingsImpl
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
INTERNAL API
- See Also:
-
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
ConstructorDescriptionParserSettingsImpl
(int maxUriLength, int maxMethodLength, int maxResponseReasonLength, int maxHeaderNameLength, int maxHeaderValueLength, int maxHeaderCount, scala.Option<Object> maxContentLengthSetting, long maxToStrictBytes, int maxChunkExtLength, int maxChunkSize, int maxCommentParsingDepth, Uri.ParsingMode uriParsingMode, ParserSettings.CookieParsingMode cookieParsingMode, boolean illegalHeaderWarnings, scala.collection.immutable.Set<String> ignoreIllegalHeaderFor, ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity, ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode, ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode, ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode, scala.collection.immutable.Map<String, Object> headerValueCacheLimits, boolean includeTlsSessionInfoHeader, boolean includeSslSessionAttribute, boolean modeledHeaderParsing, scala.Function1<String, scala.Option<HttpMethod>> customMethods, scala.Function1<Object, scala.Option<StatusCode>> customStatusCodes, scala.Function2<String, String, scala.Option<MediaType>> customMediaTypes) -
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(akka.actor.ActorSystem system) static T
apply
(com.typesafe.config.Config config) static T
scala.Function1<String,
scala.Option<HttpMethod>> scala.Function1<Object,
scala.Option<StatusCode>> int
static ParserSettings
forServer
(com.typesafe.config.Config root) static ParserSettingsImpl
fromSubConfig
(com.typesafe.config.Config root, com.typesafe.config.Config inner) int
headerValueCacheLimit
(String headerName) scala.collection.immutable.Set<String>
boolean
boolean
boolean
int
int
int
long
scala.Option<Object>
int
int
int
int
int
long
int
boolean
protected static String
prefix()
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator
-
Constructor Details
-
ParserSettingsImpl
public ParserSettingsImpl(int maxUriLength, int maxMethodLength, int maxResponseReasonLength, int maxHeaderNameLength, int maxHeaderValueLength, int maxHeaderCount, scala.Option<Object> maxContentLengthSetting, long maxToStrictBytes, int maxChunkExtLength, int maxChunkSize, int maxCommentParsingDepth, Uri.ParsingMode uriParsingMode, ParserSettings.CookieParsingMode cookieParsingMode, boolean illegalHeaderWarnings, scala.collection.immutable.Set<String> ignoreIllegalHeaderFor, ParserSettings.ErrorLoggingVerbosity errorLoggingVerbosity, ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode, ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode, ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode, scala.collection.immutable.Map<String, Object> headerValueCacheLimits, boolean includeTlsSessionInfoHeader, boolean includeSslSessionAttribute, boolean modeledHeaderParsing, scala.Function1<String, scala.Option<HttpMethod>> customMethods, scala.Function1<Object, scala.Option<StatusCode>> customStatusCodes, scala.Function2<String, String, scala.Option<MediaType>> customMediaTypes)
-
-
Method Details
-
noCustomMediaTypes
-
forServer
-
fromSubConfig
public static ParserSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner) -
prefix
-
apply
public static T apply(akka.actor.ActorSystem system) -
apply
-
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
-
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
- Specified by:
uriParsingMode
in classParserSettings
-
cookieParsingMode
- Specified by:
cookieParsingMode
in classParserSettings
-
illegalHeaderWarnings
public boolean illegalHeaderWarnings()- Specified by:
illegalHeaderWarnings
in classParserSettings
-
ignoreIllegalHeaderFor
- Specified by:
ignoreIllegalHeaderFor
in classParserSettings
-
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
- 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
- Specified by:
customMethods
in classParserSettings
-
customStatusCodes
- Specified by:
customStatusCodes
in classParserSettings
-
customMediaTypes
- Specified by:
customMediaTypes
in classParserSettings
-
defaultHeaderValueCacheLimit
public int defaultHeaderValueCacheLimit()- Specified by:
defaultHeaderValueCacheLimit
in classBodyPartParser.Settings
-
headerValueCacheLimit
- Specified by:
headerValueCacheLimit
in classHttpHeaderParser.Settings
-
maxContentLength
public long maxContentLength()- Specified by:
maxContentLength
in classParserSettings
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-