Class RoutingSettingsImpl
java.lang.Object
org.apache.pekko.http.javadsl.settings.RoutingSettings
org.apache.pekko.http.scaladsl.settings.RoutingSettings
org.apache.pekko.http.impl.settings.RoutingSettingsImpl
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
public final class RoutingSettingsImpl
extends RoutingSettings
implements scala.Product, Serializable
INTERNAL API
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRoutingSettingsImpl(boolean verboseErrorMessages, boolean fileGetConditional, boolean renderVanityFooter, int rangeCountLimit, long rangeCoalescingThreshold, int decodeMaxBytesPerChunk, long decodeMaxSize, boolean useJarFileCache) -
Method Summary
Modifier and TypeMethodDescriptionstatic Tapply(com.typesafe.config.Config config) static Tstatic Tapply(org.apache.pekko.actor.ActorSystem system) intlongbooleanstatic RoutingSettingsImplfromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c) protected static Stringprefix()longintbooleanbooleanWhether resources that live in a jar file are served through the JDK's jar file cache, the same cache the class loader uses, instead of opening and parsing the jar file for every request.booleanMethods inherited from class org.apache.pekko.http.scaladsl.settings.RoutingSettings
getDecodeMaxBytesPerChunk, getDecodeMaxSize, getFileGetConditional, getRangeCoalescingThreshold, getRangeCountLimit, getRenderVanityFooter, getUseJarFileCache, getVerboseErrorMessages, withDecodeMaxBytesPerChunk, withDecodeMaxSize, withFileGetConditional, withRangeCoalescingThreshold, withRangeCountLimit, withRenderVanityFooter, withUseJarFileCache, withVerboseErrorMessagesMethods inherited from class org.apache.pekko.http.javadsl.settings.RoutingSettings
create, create, createMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator
-
Constructor Details
-
RoutingSettingsImpl
public RoutingSettingsImpl(boolean verboseErrorMessages, boolean fileGetConditional, boolean renderVanityFooter, int rangeCountLimit, long rangeCoalescingThreshold, int decodeMaxBytesPerChunk, long decodeMaxSize, boolean useJarFileCache)
-
-
Method Details
-
fromSubConfig
public static RoutingSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config c) -
prefix
-
apply
public static T apply(org.apache.pekko.actor.ActorSystem system) -
apply
-
apply
public static T apply(com.typesafe.config.Config config) -
verboseErrorMessages
public boolean verboseErrorMessages()- Specified by:
verboseErrorMessagesin classRoutingSettings
-
fileGetConditional
public boolean fileGetConditional()- Specified by:
fileGetConditionalin classRoutingSettings
-
rangeCountLimit
public int rangeCountLimit()- Specified by:
rangeCountLimitin classRoutingSettings
-
rangeCoalescingThreshold
public long rangeCoalescingThreshold()- Specified by:
rangeCoalescingThresholdin classRoutingSettings
-
decodeMaxBytesPerChunk
public int decodeMaxBytesPerChunk()- Specified by:
decodeMaxBytesPerChunkin classRoutingSettings
-
decodeMaxSize
public long decodeMaxSize()- Specified by:
decodeMaxSizein classRoutingSettings
-
useJarFileCache
public boolean useJarFileCache()Description copied from class:RoutingSettingsWhether resources that live in a jar file are served through the JDK's jar file cache, the same cache the class loader uses, instead of opening and parsing the jar file for every request.- Specified by:
useJarFileCachein classRoutingSettings- Returns:
- (undocumented)
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-