Package akka.http.javadsl.settings
Class RoutingSettings
- java.lang.Object
-
- akka.http.javadsl.settings.RoutingSettings
-
- Direct Known Subclasses:
RoutingSettings
public abstract class RoutingSettings extends java.lang.Object
Public API but not intended for subclassing
-
-
Constructor Summary
Constructors Constructor Description RoutingSettings()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RoutingSettings
create(akka.actor.ActorSystem system)
static RoutingSettings
create(com.typesafe.config.Config config)
static RoutingSettings
create(java.lang.String configOverrides)
abstract int
getDecodeMaxBytesPerChunk()
abstract boolean
getFileGetConditional()
abstract java.lang.String
getFileIODispatcher()
Deprecated.binary compatibility method.abstract long
getRangeCoalescingThreshold()
abstract int
getRangeCountLimit()
abstract boolean
getRenderVanityFooter()
abstract boolean
getVerboseErrorMessages()
RoutingSettings
withDecodeMaxBytesPerChunk(int decodeMaxBytesPerChunk)
RoutingSettings
withDecodeMaxSize(long decodeMaxSize)
RoutingSettings
withFileGetConditional(boolean fileGetConditional)
RoutingSettings
withFileIODispatcher(java.lang.String fileIODispatcher)
Deprecated.binary compatibility method.RoutingSettings
withRangeCoalescingThreshold(long rangeCoalescingThreshold)
RoutingSettings
withRangeCountLimit(int rangeCountLimit)
RoutingSettings
withRenderVanityFooter(boolean renderVanityFooter)
RoutingSettings
withVerboseErrorMessages(boolean verboseErrorMessages)
-
-
-
Method Detail
-
create
public static RoutingSettings create(com.typesafe.config.Config config)
-
create
public static RoutingSettings create(java.lang.String configOverrides)
-
create
public static RoutingSettings create(akka.actor.ActorSystem system)
-
getVerboseErrorMessages
public abstract boolean getVerboseErrorMessages()
-
getFileGetConditional
public abstract boolean getFileGetConditional()
-
getRenderVanityFooter
public abstract boolean getRenderVanityFooter()
-
getRangeCountLimit
public abstract int getRangeCountLimit()
-
getRangeCoalescingThreshold
public abstract long getRangeCoalescingThreshold()
-
getDecodeMaxBytesPerChunk
public abstract int getDecodeMaxBytesPerChunk()
-
getFileIODispatcher
public abstract java.lang.String getFileIODispatcher()
Deprecated.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.
-
withVerboseErrorMessages
public RoutingSettings withVerboseErrorMessages(boolean verboseErrorMessages)
-
withFileGetConditional
public RoutingSettings withFileGetConditional(boolean fileGetConditional)
-
withRenderVanityFooter
public RoutingSettings withRenderVanityFooter(boolean renderVanityFooter)
-
withRangeCountLimit
public RoutingSettings withRangeCountLimit(int rangeCountLimit)
-
withRangeCoalescingThreshold
public RoutingSettings withRangeCoalescingThreshold(long rangeCoalescingThreshold)
-
withDecodeMaxBytesPerChunk
public RoutingSettings withDecodeMaxBytesPerChunk(int decodeMaxBytesPerChunk)
-
withDecodeMaxSize
public RoutingSettings withDecodeMaxSize(long decodeMaxSize)
-
withFileIODispatcher
public RoutingSettings withFileIODispatcher(java.lang.String fileIODispatcher)
Deprecated.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.
-
-