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) -
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(com.typesafe.config.Config config) static T
static T
apply
(org.apache.pekko.actor.ActorSystem system) int
long
boolean
static RoutingSettingsImpl
fromSubConfig
(com.typesafe.config.Config root, com.typesafe.config.Config c) protected static String
prefix()
long
int
boolean
boolean
Methods inherited from class org.apache.pekko.http.scaladsl.settings.RoutingSettings
getDecodeMaxBytesPerChunk, getDecodeMaxSize, getFileGetConditional, getRangeCoalescingThreshold, getRangeCountLimit, getRenderVanityFooter, getVerboseErrorMessages, withDecodeMaxBytesPerChunk, withDecodeMaxSize, withFileGetConditional, withRangeCoalescingThreshold, withRangeCountLimit, withRenderVanityFooter, withVerboseErrorMessages
Methods inherited from class org.apache.pekko.http.javadsl.settings.RoutingSettings
create, create, create
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods 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)
-
-
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:
verboseErrorMessages
in classRoutingSettings
-
fileGetConditional
public boolean fileGetConditional()- Specified by:
fileGetConditional
in classRoutingSettings
-
rangeCountLimit
public int rangeCountLimit()- Specified by:
rangeCountLimit
in classRoutingSettings
-
rangeCoalescingThreshold
public long rangeCoalescingThreshold()- Specified by:
rangeCoalescingThreshold
in classRoutingSettings
-
decodeMaxBytesPerChunk
public int decodeMaxBytesPerChunk()- Specified by:
decodeMaxBytesPerChunk
in classRoutingSettings
-
decodeMaxSize
public long decodeMaxSize()- Specified by:
decodeMaxSize
in classRoutingSettings
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-