Class ParserSettingsImpl
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
INTERNAL API
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.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
ConstructorsConstructorDescriptionParserSettingsImpl(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 Tapply(com.typesafe.config.Config config) static Tstatic Tapply(org.apache.pekko.actor.ActorSystem system) scala.Function1<String,scala.Option<HttpMethod>> scala.Function1<Object,scala.Option<StatusCode>> intstatic ParserSettingsforServer(com.typesafe.config.Config root) static ParserSettingsImplfromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner) intheaderValueCacheLimit(String headerName) scala.collection.immutable.Set<String>booleanbooleanbooleanintintintlongscala.Option<Object>intintintintintlongintbooleanprotected static Stringprefix()Methods inherited from class org.apache.pekko.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, withUriParsingModeMethods inherited from class org.apache.pekko.http.javadsl.settings.ParserSettings
create, create, create, withCookieParsingMode, withCustomMediaTypes, withCustomMediaTypes, withCustomMethods, withCustomMethods, withCustomStatusCodes, withCustomStatusCodes, withErrorLoggingVerbosity, withHeaderValueCacheLimits, withUriParsingModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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(org.apache.pekko.actor.ActorSystem system) -
apply
-
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
-
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
- Specified by:
uriParsingModein classParserSettings
-
cookieParsingMode
- Specified by:
cookieParsingModein classParserSettings
-
illegalHeaderWarnings
public boolean illegalHeaderWarnings()- Specified by:
illegalHeaderWarningsin classParserSettings
-
ignoreIllegalHeaderFor
- Specified by:
ignoreIllegalHeaderForin classParserSettings
-
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
- 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
- Specified by:
customMethodsin classParserSettings
-
customStatusCodes
- Specified by:
customStatusCodesin classParserSettings
-
customMediaTypes
- Specified by:
customMediaTypesin classParserSettings
-
defaultHeaderValueCacheLimit
public int defaultHeaderValueCacheLimit()- Specified by:
defaultHeaderValueCacheLimitin classBodyPartParser.Settings
-
headerValueCacheLimit
- Specified by:
headerValueCacheLimitin classHttpHeaderParser.Settings
-
maxContentLength
public long maxContentLength()- Specified by:
maxContentLengthin classParserSettings
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-