Class ParserSettings

    • Constructor Detail

      • ParserSettings

        public ParserSettings()
    • Method Detail

      • create

        public static ParserSettings create​(com.typesafe.config.Config config)
        Deprecated.
        Use forServer or forClient instead.
        Parameters:
        config - (undocumented)
        Returns:
        (undocumented)
      • create

        public static ParserSettings create​(java.lang.String configOverrides)
        Deprecated.
        Use forServer or forClient instead.
        Parameters:
        configOverrides - (undocumented)
        Returns:
        (undocumented)
      • create

        public static ParserSettings create​(akka.actor.ActorSystem system)
        Deprecated.
        Use forServer or forClient instead.
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • forServer

        public static ParserSettings forServer​(akka.actor.ClassicActorSystemProvider system)
      • forClient

        public static ParserSettings forClient​(akka.actor.ClassicActorSystemProvider system)
      • 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()
      • getIllegalHeaderWarnings

        public abstract boolean getIllegalHeaderWarnings()
      • getIgnoreIllegalHeaderFor

        public abstract scala.collection.immutable.Set<java.lang.String> getIgnoreIllegalHeaderFor()
      • getHeaderValueCacheLimits

        public abstract java.util.Map<java.lang.String,​java.lang.Object> getHeaderValueCacheLimits()
      • getIncludeTlsSessionInfoHeader

        public abstract boolean getIncludeTlsSessionInfoHeader()
      • getIncludeSslSessionAttribute

        public abstract boolean getIncludeSslSessionAttribute()
      • headerValueCacheLimits

        public abstract scala.collection.immutable.Map<java.lang.String,​java.lang.Object> headerValueCacheLimits()
      • getCustomMethods

        public abstract java.util.function.Function<java.lang.String,​java.util.Optional<HttpMethod>> getCustomMethods()
      • getCustomStatusCodes

        public abstract java.util.function.Function<java.lang.Object,​java.util.Optional<StatusCode>> getCustomStatusCodes()
      • getCustomMediaTypes

        public abstract akka.japi.function.Function2<java.lang.String,​java.lang.String,​java.util.Optional<MediaType>> getCustomMediaTypes()
      • getModeledHeaderParsing

        public abstract boolean getModeledHeaderParsing()
      • withMaxUriLength

        public ParserSettings withMaxUriLength​(int newValue)
      • withMaxMethodLength

        public ParserSettings withMaxMethodLength​(int newValue)
      • withMaxResponseReasonLength

        public ParserSettings withMaxResponseReasonLength​(int newValue)
      • withMaxHeaderNameLength

        public ParserSettings withMaxHeaderNameLength​(int newValue)
      • withMaxHeaderValueLength

        public ParserSettings withMaxHeaderValueLength​(int newValue)
      • withMaxHeaderCount

        public ParserSettings withMaxHeaderCount​(int newValue)
      • withMaxContentLength

        public ParserSettings withMaxContentLength​(long newValue)
      • withMaxToStrictBytes

        public ParserSettings withMaxToStrictBytes​(long newValue)
      • withMaxChunkExtLength

        public ParserSettings withMaxChunkExtLength​(int newValue)
      • withMaxChunkSize

        public ParserSettings withMaxChunkSize​(int newValue)
      • withMaxCommentParsingDepth

        public ParserSettings withMaxCommentParsingDepth​(int newValue)
      • withIllegalHeaderWarnings

        public ParserSettings withIllegalHeaderWarnings​(boolean newValue)
      • withHeaderValueCacheLimits

        public ParserSettings withHeaderValueCacheLimits​(java.util.Map<java.lang.String,​java.lang.Object> newValue)
      • withIncludeTlsSessionInfoHeader

        public ParserSettings withIncludeTlsSessionInfoHeader​(boolean newValue)
      • withIncludeSslSessionAttribute

        public ParserSettings withIncludeSslSessionAttribute​(boolean newValue)
      • withModeledHeaderParsing

        public ParserSettings withModeledHeaderParsing​(boolean newValue)
      • withIgnoreIllegalHeaderFor

        public ParserSettings withIgnoreIllegalHeaderFor​(scala.collection.immutable.List<java.lang.String> newValue)
      • withCustomStatusCodes

        public ParserSettings withCustomStatusCodes​(scala.collection.immutable.Seq<StatusCode> codes)
      • withCustomMediaTypes

        public ParserSettings withCustomMediaTypes​(scala.collection.immutable.Seq<MediaType> mediaTypes)