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
- Direct Known Subclasses:
- ParserSettings
Public API but not intended for subclassing
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interface
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ParserSettingscreate(com.typesafe.config.Config config) Deprecated.Use forServer or forClient instead.static ParserSettingsDeprecated.Use forServer or forClient instead.static ParserSettingscreate(org.apache.pekko.actor.ActorSystem system) Deprecated.Use forServer or forClient instead.static ParserSettingsforClient(org.apache.pekko.actor.ClassicActorSystemProvider system) static ParserSettingsforServer(org.apache.pekko.actor.ClassicActorSystemProvider system) abstract ParserSettings.CookieParsingModeabstract Function<String,Optional<HttpMethod>> abstract Function<Object,Optional<StatusCode>> abstract ParserSettings.ErrorLoggingVerbosityabstract scala.collection.immutable.Set<String>abstract booleanabstract booleanabstract booleanabstract intabstract intabstract intabstract longabstract intabstract intabstract intabstract intabstract intabstract longabstract intabstract booleanabstract Uri.ParsingModewithCustomMediaTypes(MediaType... mediaTypes) withCustomMediaTypes(scala.collection.immutable.Seq<MediaType> mediaTypes) withCustomMethods(HttpMethod... methods) withCustomMethods(scala.collection.immutable.Seq<HttpMethod> methods) withCustomStatusCodes(StatusCode... codes) withCustomStatusCodes(scala.collection.immutable.Seq<StatusCode> codes) withHeaderValueCacheLimits(Map<String, Object> newValue) withIgnoreIllegalHeaderFor(scala.collection.immutable.List<String> newValue) withIllegalHeaderWarnings(boolean newValue) withIncludeSslSessionAttribute(boolean newValue) withIncludeTlsSessionInfoHeader(boolean newValue) withMaxChunkExtLength(int newValue) withMaxChunkSize(int newValue) withMaxCommentParsingDepth(int newValue) withMaxContentLength(long 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.impl.engine.parsing.BodyPartParser.SettingsdefaultHeaderValueCacheLimit, illegalHeaderWarnings, maxHeaderCountMethods inherited from class org.apache.pekko.http.impl.engine.parsing.HttpHeaderParser.SettingscustomMediaTypes, errorLoggingVerbosity, headerValueCacheLimit, ignoreIllegalHeaderFor, illegalResponseHeaderNameProcessingMode, illegalResponseHeaderValueProcessingMode, maxHeaderNameLength, maxHeaderValueLength, modeledHeaderParsingMethods inherited from class org.apache.pekko.http.impl.model.parser.HeaderParser.SettingscookieParsingMode, maxCommentParsingDepth, uriParsingMode
- 
Constructor Details- 
ParserSettingspublic ParserSettings()
 
- 
- 
Method Details- 
createDeprecated.Use forServer or forClient instead.- Parameters:
- config- (undocumented)
- Returns:
- (undocumented)
 
- 
createDeprecated.Use forServer or forClient instead.- Parameters:
- configOverrides- (undocumented)
- Returns:
- (undocumented)
 
- 
createDeprecated.Use forServer or forClient instead.- Parameters:
- system- (undocumented)
- Returns:
- (undocumented)
 
- 
forServer
- 
forClient
- 
withCustomMethods
- 
withCustomStatusCodes
- 
withCustomMediaTypes
- 
getMaxUriLengthpublic abstract int getMaxUriLength()
- 
getMaxMethodLengthpublic abstract int getMaxMethodLength()
- 
getMaxResponseReasonLengthpublic abstract int getMaxResponseReasonLength()
- 
getMaxHeaderNameLengthpublic abstract int getMaxHeaderNameLength()
- 
getMaxHeaderValueLengthpublic abstract int getMaxHeaderValueLength()
- 
getMaxHeaderCountpublic abstract int getMaxHeaderCount()
- 
getMaxContentLengthpublic abstract long getMaxContentLength()
- 
getMaxToStrictBytespublic abstract long getMaxToStrictBytes()
- 
getMaxChunkExtLengthpublic abstract int getMaxChunkExtLength()
- 
getMaxChunkSizepublic abstract int getMaxChunkSize()
- 
getMaxCommentParsingDepthpublic abstract int getMaxCommentParsingDepth()
- 
getUriParsingMode
- 
getCookieParsingMode
- 
getIllegalHeaderWarningspublic abstract boolean getIllegalHeaderWarnings()
- 
getIgnoreIllegalHeaderFor
- 
getErrorLoggingVerbosity
- 
getIllegalResponseHeaderNameProcessingModepublic abstract ParserSettings.IllegalResponseHeaderNameProcessingMode getIllegalResponseHeaderNameProcessingMode()
- 
getIllegalResponseHeaderValueProcessingModepublic abstract ParserSettings.IllegalResponseHeaderValueProcessingMode getIllegalResponseHeaderValueProcessingMode()
- 
getConflictingContentTypeHeaderProcessingModepublic abstract ParserSettings.ConflictingContentTypeHeaderProcessingMode getConflictingContentTypeHeaderProcessingMode()
- 
getHeaderValueCacheLimits
- 
getIncludeTlsSessionInfoHeaderpublic abstract boolean getIncludeTlsSessionInfoHeader()
- 
getIncludeSslSessionAttributepublic abstract boolean getIncludeSslSessionAttribute()
- 
headerValueCacheLimits
- 
getCustomMethods
- 
getCustomStatusCodes
- 
getCustomMediaTypes
- 
getModeledHeaderParsingpublic abstract boolean getModeledHeaderParsing()
- 
withMaxUriLength
- 
withMaxMethodLength
- 
withMaxResponseReasonLength
- 
withMaxHeaderNameLength
- 
withMaxHeaderValueLength
- 
withMaxHeaderCount
- 
withMaxContentLength
- 
withMaxToStrictBytes
- 
withMaxChunkExtLength
- 
withMaxChunkSize
- 
withMaxCommentParsingDepth
- 
withUriParsingMode
- 
withCookieParsingMode
- 
withIllegalHeaderWarnings
- 
withErrorLoggingVerbosity
- 
withHeaderValueCacheLimits
- 
withIncludeTlsSessionInfoHeader
- 
withIncludeSslSessionAttribute
- 
withModeledHeaderParsing
- 
withIgnoreIllegalHeaderFor
- 
withCustomMethods
- 
withCustomStatusCodes
- 
withCustomMediaTypes
 
-