Class ParserSettings
java.lang.Object
org.apache.pekko.http.impl.model.parser.HeaderParser.Settings
org.apache.pekko.http.impl.engine.parsing.HttpHeaderParser.Settings
org.apache.pekko.http.impl.engine.parsing.BodyPartParser.Settings
org.apache.pekko.http.javadsl.settings.ParserSettings
org.apache.pekko.http.scaladsl.settings.ParserSettings
- Direct Known Subclasses:
- ParserSettingsImpl
Public API but not intended for subclassing
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic interfacestatic classstatic interfacestatic classstatic interfacestatic classstatic interfacestatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ParserSettingsapply(com.typesafe.config.Config config) Deprecated.Use forServer or forClient instead.static ParserSettingsDeprecated.Use forServer or forClient instead.abstract ParserSettings.CookieParsingModeabstract scala.Function1<String,scala.Option<HttpMethod>> abstract scala.Function1<Object,scala.Option<StatusCode>> abstract ParserSettings.ErrorLoggingVerbositystatic ParserSettingsforClient(org.apache.pekko.actor.ClassicActorSystemProvider system) static ParserSettingsforServer(org.apache.pekko.actor.ClassicActorSystemProvider system) scala.collection.immutable.Set<String>booleanbooleanbooleanintintintlongintintintintintlongintbooleanabstract scala.collection.immutable.Set<String>abstract booleanabstract booleanabstract booleanabstract intabstract intabstract intabstract longabstract intabstract intabstract intabstract intabstract intabstract longabstract intabstract booleanabstract Uri.ParsingModewithConflictingContentTypeHeaderProcessingMode(ParserSettings.ConflictingContentTypeHeaderProcessingMode newValue) withCustomMediaTypes(scala.collection.immutable.Seq<MediaType> types) withCustomMethods(scala.collection.immutable.Seq<HttpMethod> methods) withCustomStatusCodes(scala.collection.immutable.Seq<StatusCode> codes) withHeaderValueCacheLimits(scala.collection.immutable.Map<String, Object> newValue) withIgnoreIllegalHeaderFor(scala.collection.immutable.List<String> newValue) withIllegalHeaderWarnings(boolean newValue) withIllegalResponseHeaderNameProcessingMode(ParserSettings.IllegalResponseHeaderNameProcessingMode newValue) withIllegalResponseHeaderValueProcessingMode(ParserSettings.IllegalResponseHeaderValueProcessingMode newValue) withIncludeSslSessionAttribute(boolean newValue) withIncludeTlsSessionInfoHeader(boolean newValue) withMaxChunkExtLength(int newValue) withMaxChunkSize(int newValue) withMaxCommentParsingDepth(int newValue) withMaxContentLength(long newValue) withMaxContentLength(scala.Option<Object> newValue) withMaxHeaderCount(int newValue) withMaxHeaderNameLength(int newValue) withMaxHeaderValueLength(int newValue) withMaxMethodLength(int newValue) withMaxResponseReasonLength(int newValue) withMaxToStrictBytes(long newValue) withMaxUriLength(int newValue) withModeledHeaderParsing(boolean newValue) withUriParsingMode(Uri.ParsingMode newValue) Methods 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 org.apache.pekko.http.impl.engine.parsing.BodyPartParser.SettingsdefaultHeaderValueCacheLimitMethods inherited from class org.apache.pekko.http.impl.engine.parsing.HttpHeaderParser.SettingsheaderValueCacheLimit
- 
Constructor Details- 
ParserSettingspublic ParserSettings()
 
- 
- 
Method Details- 
applyDeprecated.Use forServer or forClient instead. Since Akka HTTP 10.2.0.
- 
applyDeprecated.Use forServer or forClient instead. Since Akka HTTP 10.2.0.
- 
forServer
- 
forClient
- 
maxUriLengthpublic abstract int maxUriLength()
- 
maxMethodLengthpublic abstract int maxMethodLength()
- 
maxResponseReasonLengthpublic abstract int maxResponseReasonLength()
- 
maxHeaderNameLengthpublic abstract int maxHeaderNameLength()- Specified by:
- maxHeaderNameLengthin class- HttpHeaderParser.Settings
 
- 
maxHeaderValueLengthpublic abstract int maxHeaderValueLength()- Specified by:
- maxHeaderValueLengthin class- HttpHeaderParser.Settings
 
- 
maxHeaderCountpublic abstract int maxHeaderCount()- Specified by:
- maxHeaderCountin class- BodyPartParser.Settings
 
- 
maxContentLengthpublic abstract long maxContentLength()
- 
maxToStrictBytespublic abstract long maxToStrictBytes()
- 
maxChunkExtLengthpublic abstract int maxChunkExtLength()
- 
maxChunkSizepublic abstract int maxChunkSize()
- 
maxCommentParsingDepthpublic abstract int maxCommentParsingDepth()- Specified by:
- maxCommentParsingDepthin class- HeaderParser.Settings
 
- 
uriParsingMode- Specified by:
- uriParsingModein class- HeaderParser.Settings
 
- 
cookieParsingMode- Specified by:
- cookieParsingModein class- HeaderParser.Settings
 
- 
illegalHeaderWarningspublic abstract boolean illegalHeaderWarnings()- Specified by:
- illegalHeaderWarningsin class- BodyPartParser.Settings
 
- 
ignoreIllegalHeaderFor- Specified by:
- ignoreIllegalHeaderForin class- HttpHeaderParser.Settings
 
- 
errorLoggingVerbosity- Specified by:
- errorLoggingVerbosityin class- HttpHeaderParser.Settings
 
- 
illegalResponseHeaderNameProcessingModepublic abstract ParserSettings.IllegalResponseHeaderNameProcessingMode illegalResponseHeaderNameProcessingMode()- Specified by:
- illegalResponseHeaderNameProcessingModein class- HttpHeaderParser.Settings
 
- 
illegalResponseHeaderValueProcessingModepublic abstract ParserSettings.IllegalResponseHeaderValueProcessingMode illegalResponseHeaderValueProcessingMode()- Specified by:
- illegalResponseHeaderValueProcessingModein class- HttpHeaderParser.Settings
 
- 
conflictingContentTypeHeaderProcessingModepublic abstract ParserSettings.ConflictingContentTypeHeaderProcessingMode conflictingContentTypeHeaderProcessingMode()
- 
headerValueCacheLimits- Specified by:
- headerValueCacheLimitsin class- ParserSettings
 
- 
includeTlsSessionInfoHeaderpublic abstract boolean includeTlsSessionInfoHeader()
- 
includeSslSessionAttributepublic abstract boolean includeSslSessionAttribute()
- 
customMethods
- 
customStatusCodes
- 
customMediaTypes- Specified by:
- customMediaTypesin class- HttpHeaderParser.Settings
 
- 
modeledHeaderParsingpublic abstract boolean modeledHeaderParsing()- Specified by:
- modeledHeaderParsingin class- HttpHeaderParser.Settings
 
- 
getCookieParsingMode- Specified by:
- getCookieParsingModein class- ParserSettings
 
- 
getHeaderValueCacheLimits- Specified by:
- getHeaderValueCacheLimitsin class- ParserSettings
 
- 
getMaxChunkExtLengthpublic int getMaxChunkExtLength()- Specified by:
- getMaxChunkExtLengthin class- ParserSettings
 
- 
getUriParsingMode- Specified by:
- getUriParsingModein class- ParserSettings
 
- 
getMaxHeaderCountpublic int getMaxHeaderCount()- Specified by:
- getMaxHeaderCountin class- ParserSettings
 
- 
getMaxContentLengthpublic long getMaxContentLength()- Specified by:
- getMaxContentLengthin class- ParserSettings
 
- 
getMaxToStrictBytespublic long getMaxToStrictBytes()- Specified by:
- getMaxToStrictBytesin class- ParserSettings
 
- 
getMaxHeaderValueLengthpublic int getMaxHeaderValueLength()- Specified by:
- getMaxHeaderValueLengthin class- ParserSettings
 
- 
getIncludeTlsSessionInfoHeaderpublic boolean getIncludeTlsSessionInfoHeader()- Specified by:
- getIncludeTlsSessionInfoHeaderin class- ParserSettings
 
- 
getIncludeSslSessionAttributepublic boolean getIncludeSslSessionAttribute()- Specified by:
- getIncludeSslSessionAttributein class- ParserSettings
 
- 
getIllegalHeaderWarningspublic boolean getIllegalHeaderWarnings()- Specified by:
- getIllegalHeaderWarningsin class- ParserSettings
 
- 
getIgnoreIllegalHeaderFor- Specified by:
- getIgnoreIllegalHeaderForin class- ParserSettings
 
- 
getMaxHeaderNameLengthpublic int getMaxHeaderNameLength()- Specified by:
- getMaxHeaderNameLengthin class- ParserSettings
 
- 
getMaxChunkSizepublic int getMaxChunkSize()- Specified by:
- getMaxChunkSizein class- ParserSettings
 
- 
getMaxResponseReasonLengthpublic int getMaxResponseReasonLength()- Specified by:
- getMaxResponseReasonLengthin class- ParserSettings
 
- 
getMaxUriLengthpublic int getMaxUriLength()- Specified by:
- getMaxUriLengthin class- ParserSettings
 
- 
getMaxMethodLengthpublic int getMaxMethodLength()- Specified by:
- getMaxMethodLengthin class- ParserSettings
 
- 
getMaxCommentParsingDepthpublic int getMaxCommentParsingDepth()- Specified by:
- getMaxCommentParsingDepthin class- ParserSettings
 
- 
getErrorLoggingVerbosity- Specified by:
- getErrorLoggingVerbosityin class- ParserSettings
 
- 
getIllegalResponseHeaderNameProcessingModepublic ParserSettings.IllegalResponseHeaderNameProcessingMode getIllegalResponseHeaderNameProcessingMode()- Specified by:
- getIllegalResponseHeaderNameProcessingModein class- ParserSettings
 
- 
getIllegalResponseHeaderValueProcessingModepublic ParserSettings.IllegalResponseHeaderValueProcessingMode getIllegalResponseHeaderValueProcessingMode()- Specified by:
- getIllegalResponseHeaderValueProcessingModein class- ParserSettings
 
- 
getConflictingContentTypeHeaderProcessingModepublic ParserSettings.ConflictingContentTypeHeaderProcessingMode getConflictingContentTypeHeaderProcessingMode()- Specified by:
- getConflictingContentTypeHeaderProcessingModein class- ParserSettings
 
- 
getCustomMethods
- 
getCustomStatusCodes
- 
getCustomMediaTypes
- 
getModeledHeaderParsingpublic boolean getModeledHeaderParsing()- Specified by:
- getModeledHeaderParsingin class- ParserSettings
 
- 
withMaxUriLength- Overrides:
- withMaxUriLengthin class- ParserSettings
 
- 
withMaxMethodLength- Overrides:
- withMaxMethodLengthin class- ParserSettings
 
- 
withMaxResponseReasonLength- Overrides:
- withMaxResponseReasonLengthin class- ParserSettings
 
- 
withMaxHeaderNameLength- Overrides:
- withMaxHeaderNameLengthin class- ParserSettings
 
- 
withMaxHeaderValueLength- Overrides:
- withMaxHeaderValueLengthin class- ParserSettings
 
- 
withMaxHeaderCount- Overrides:
- withMaxHeaderCountin class- ParserSettings
 
- 
withMaxContentLength- Overrides:
- withMaxContentLengthin class- ParserSettings
 
- 
withMaxContentLength
- 
withMaxToStrictBytes- Overrides:
- withMaxToStrictBytesin class- ParserSettings
 
- 
withMaxChunkExtLength- Overrides:
- withMaxChunkExtLengthin class- ParserSettings
 
- 
withMaxChunkSize- Overrides:
- withMaxChunkSizein class- ParserSettings
 
- 
withMaxCommentParsingDepth- Overrides:
- withMaxCommentParsingDepthin class- ParserSettings
 
- 
withIllegalHeaderWarnings- Overrides:
- withIllegalHeaderWarningsin class- ParserSettings
 
- 
withIncludeTlsSessionInfoHeader- Overrides:
- withIncludeTlsSessionInfoHeaderin class- ParserSettings
 
- 
withIncludeSslSessionAttribute- Overrides:
- withIncludeSslSessionAttributein class- ParserSettings
 
- 
withModeledHeaderParsing- Overrides:
- withModeledHeaderParsingin class- ParserSettings
 
- 
withIgnoreIllegalHeaderFor- Overrides:
- withIgnoreIllegalHeaderForin class- ParserSettings
 
- 
withUriParsingMode
- 
withCookieParsingMode
- 
withErrorLoggingVerbosity
- 
withHeaderValueCacheLimitspublic ParserSettings withHeaderValueCacheLimits(scala.collection.immutable.Map<String, Object> newValue) 
- 
withCustomMethods
- 
withCustomStatusCodes
- 
withCustomMediaTypes
- 
withIllegalResponseHeaderNameProcessingModepublic ParserSettings withIllegalResponseHeaderNameProcessingMode(ParserSettings.IllegalResponseHeaderNameProcessingMode newValue) 
- 
withIllegalResponseHeaderValueProcessingModepublic ParserSettings withIllegalResponseHeaderValueProcessingMode(ParserSettings.IllegalResponseHeaderValueProcessingMode newValue) 
- 
withConflictingContentTypeHeaderProcessingModepublic ParserSettings withConflictingContentTypeHeaderProcessingMode(ParserSettings.ConflictingContentTypeHeaderProcessingMode newValue) 
 
-