Package akka.http.javadsl.settings
Class ParserSettings
java.lang.Object
akka.http.impl.model.parser.HeaderParser.Settings
akka.http.impl.engine.parsing.HttpHeaderParser.Settings
akka.http.impl.engine.parsing.BodyPartParser.Settings
akka.http.javadsl.settings.ParserSettings
- Direct Known Subclasses:
ParserSettings
Public API but not intended for subclassing
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParserSettings
create
(akka.actor.ActorSystem system) Deprecated.Use forServer or forClient instead.static ParserSettings
create
(com.typesafe.config.Config config) Deprecated.Use forServer or forClient instead.static ParserSettings
Deprecated.Use forServer or forClient instead.static ParserSettings
forClient
(akka.actor.ClassicActorSystemProvider system) static ParserSettings
forServer
(akka.actor.ClassicActorSystemProvider system) abstract ParserSettings.CookieParsingMode
abstract Function<String,
Optional<HttpMethod>> abstract Function<Object,
Optional<StatusCode>> abstract ParserSettings.ErrorLoggingVerbosity
abstract scala.collection.immutable.Set<String>
abstract boolean
abstract boolean
abstract boolean
abstract int
abstract int
abstract int
abstract long
abstract int
abstract int
abstract int
abstract int
abstract int
abstract long
abstract int
abstract boolean
abstract Uri.ParsingMode
withCustomMediaTypes
(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 akka.http.impl.engine.parsing.BodyPartParser.Settings
defaultHeaderValueCacheLimit, illegalHeaderWarnings, maxHeaderCount
Methods inherited from class akka.http.impl.engine.parsing.HttpHeaderParser.Settings
customMediaTypes, errorLoggingVerbosity, headerValueCacheLimit, ignoreIllegalHeaderFor, illegalResponseHeaderNameProcessingMode, illegalResponseHeaderValueProcessingMode, maxHeaderNameLength, maxHeaderValueLength, modeledHeaderParsing
Methods inherited from class akka.http.impl.model.parser.HeaderParser.Settings
cookieParsingMode, maxCommentParsingDepth, uriParsingMode
-
Constructor Details
-
ParserSettings
public ParserSettings()
-
-
Method Details
-
create
Deprecated.Use forServer or forClient instead.- Parameters:
config
- (undocumented)- Returns:
- (undocumented)
-
create
Deprecated.Use forServer or forClient instead.- Parameters:
configOverrides
- (undocumented)- Returns:
- (undocumented)
-
create
Deprecated.Use forServer or forClient instead.- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-
forServer
-
forClient
-
withCustomMethods
-
withCustomStatusCodes
-
withCustomMediaTypes
-
getMaxUriLength
public abstract int getMaxUriLength() -
getMaxMethodLength
public abstract int getMaxMethodLength() -
getMaxResponseReasonLength
public abstract int getMaxResponseReasonLength() -
getMaxHeaderNameLength
public abstract int getMaxHeaderNameLength() -
getMaxHeaderValueLength
public abstract int getMaxHeaderValueLength() -
getMaxHeaderCount
public abstract int getMaxHeaderCount() -
getMaxContentLength
public abstract long getMaxContentLength() -
getMaxToStrictBytes
public abstract long getMaxToStrictBytes() -
getMaxChunkExtLength
public abstract int getMaxChunkExtLength() -
getMaxChunkSize
public abstract int getMaxChunkSize() -
getMaxCommentParsingDepth
public abstract int getMaxCommentParsingDepth() -
getUriParsingMode
-
getCookieParsingMode
-
getIllegalHeaderWarnings
public abstract boolean getIllegalHeaderWarnings() -
getIgnoreIllegalHeaderFor
-
getErrorLoggingVerbosity
-
getIllegalResponseHeaderNameProcessingMode
public abstract ParserSettings.IllegalResponseHeaderNameProcessingMode getIllegalResponseHeaderNameProcessingMode() -
getIllegalResponseHeaderValueProcessingMode
public abstract ParserSettings.IllegalResponseHeaderValueProcessingMode getIllegalResponseHeaderValueProcessingMode() -
getConflictingContentTypeHeaderProcessingMode
public abstract ParserSettings.ConflictingContentTypeHeaderProcessingMode getConflictingContentTypeHeaderProcessingMode() -
getHeaderValueCacheLimits
-
getIncludeTlsSessionInfoHeader
public abstract boolean getIncludeTlsSessionInfoHeader() -
getIncludeSslSessionAttribute
public abstract boolean getIncludeSslSessionAttribute() -
headerValueCacheLimits
-
getCustomMethods
-
getCustomStatusCodes
-
getCustomMediaTypes
-
getModeledHeaderParsing
public 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
-