Class ParserSettingsImpl
- All Implemented Interfaces:
- Serializable,- scala.Equals,- scala.Product
INTERNAL API
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.settings.ParserSettingsParserSettings.ConflictingContentTypeHeaderProcessingMode, ParserSettings.ConflictingContentTypeHeaderProcessingMode$, ParserSettings.CookieParsingMode, ParserSettings.CookieParsingMode$, ParserSettings.ErrorLoggingVerbosity, ParserSettings.ErrorLoggingVerbosity$, ParserSettings.IllegalResponseHeaderNameProcessingMode, ParserSettings.IllegalResponseHeaderNameProcessingMode$, ParserSettings.IllegalResponseHeaderValueProcessingMode, ParserSettings.IllegalResponseHeaderValueProcessingMode$
- 
Constructor SummaryConstructorsConstructorDescriptionParserSettingsImpl(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 SummaryModifier 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.ParserSettingsforClient, 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.ParserSettingscreate, create, create, withCookieParsingMode, withCustomMediaTypes, withCustomMediaTypes, withCustomMethods, withCustomMethods, withCustomStatusCodes, withCustomStatusCodes, withErrorLoggingVerbosity, withHeaderValueCacheLimits, withUriParsingModeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator
- 
Constructor Details- 
ParserSettingsImplpublic 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
- 
fromSubConfigpublic static ParserSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner) 
- 
prefix
- 
applypublic static T apply(org.apache.pekko.actor.ActorSystem system) 
- 
apply
- 
applypublic static T apply(com.typesafe.config.Config config) 
- 
maxUriLengthpublic int maxUriLength()- Specified by:
- maxUriLengthin class- ParserSettings
 
- 
maxMethodLengthpublic int maxMethodLength()- Specified by:
- maxMethodLengthin class- ParserSettings
 
- 
maxResponseReasonLengthpublic int maxResponseReasonLength()- Specified by:
- maxResponseReasonLengthin class- ParserSettings
 
- 
maxHeaderNameLengthpublic int maxHeaderNameLength()- Specified by:
- maxHeaderNameLengthin class- ParserSettings
 
- 
maxHeaderValueLengthpublic int maxHeaderValueLength()- Specified by:
- maxHeaderValueLengthin class- ParserSettings
 
- 
maxHeaderCountpublic int maxHeaderCount()- Specified by:
- maxHeaderCountin class- ParserSettings
 
- 
maxContentLengthSetting
- 
maxToStrictBytespublic long maxToStrictBytes()- Specified by:
- maxToStrictBytesin class- ParserSettings
 
- 
maxChunkExtLengthpublic int maxChunkExtLength()- Specified by:
- maxChunkExtLengthin class- ParserSettings
 
- 
maxChunkSizepublic int maxChunkSize()- Specified by:
- maxChunkSizein class- ParserSettings
 
- 
maxCommentParsingDepthpublic int maxCommentParsingDepth()- Specified by:
- maxCommentParsingDepthin class- ParserSettings
 
- 
uriParsingMode- Specified by:
- uriParsingModein class- ParserSettings
 
- 
cookieParsingMode- Specified by:
- cookieParsingModein class- ParserSettings
 
- 
illegalHeaderWarningspublic boolean illegalHeaderWarnings()- Specified by:
- illegalHeaderWarningsin class- ParserSettings
 
- 
ignoreIllegalHeaderFor- Specified by:
- ignoreIllegalHeaderForin class- ParserSettings
 
- 
errorLoggingVerbosity- Specified by:
- errorLoggingVerbosityin class- ParserSettings
 
- 
illegalResponseHeaderNameProcessingModepublic ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode()- Specified by:
- illegalResponseHeaderNameProcessingModein class- ParserSettings
 
- 
illegalResponseHeaderValueProcessingModepublic ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode()- Specified by:
- illegalResponseHeaderValueProcessingModein class- ParserSettings
 
- 
conflictingContentTypeHeaderProcessingModepublic ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode()- Specified by:
- conflictingContentTypeHeaderProcessingModein class- ParserSettings
 
- 
headerValueCacheLimits- Specified by:
- headerValueCacheLimitsin class- ParserSettings
 
- 
includeTlsSessionInfoHeaderpublic boolean includeTlsSessionInfoHeader()- Specified by:
- includeTlsSessionInfoHeaderin class- ParserSettings
 
- 
includeSslSessionAttributepublic boolean includeSslSessionAttribute()- Specified by:
- includeSslSessionAttributein class- ParserSettings
 
- 
modeledHeaderParsingpublic boolean modeledHeaderParsing()- Specified by:
- modeledHeaderParsingin class- ParserSettings
 
- 
customMethods- Specified by:
- customMethodsin class- ParserSettings
 
- 
customStatusCodes- Specified by:
- customStatusCodesin class- ParserSettings
 
- 
customMediaTypes- Specified by:
- customMediaTypesin class- ParserSettings
 
- 
defaultHeaderValueCacheLimitpublic int defaultHeaderValueCacheLimit()- Specified by:
- defaultHeaderValueCacheLimitin class- BodyPartParser.Settings
 
- 
headerValueCacheLimit- Specified by:
- headerValueCacheLimitin class- HttpHeaderParser.Settings
 
- 
maxContentLengthpublic long maxContentLength()- Specified by:
- maxContentLengthin class- ParserSettings
 
- 
productPrefix- Specified by:
- productPrefixin interface- scala.Product
 
 
-