public abstract class RoutingSettings
extends java.lang.Object
Constructor and Description |
---|
RoutingSettings() |
Modifier and Type | Method and Description |
---|---|
static RoutingSettings |
create(org.apache.pekko.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. Use `pekko.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since Akka HTTP 10.1.6.
|
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. Use `pekko.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since Akka HTTP 10.1.6.
|
RoutingSettings |
withRangeCoalescingThreshold(long rangeCoalescingThreshold) |
RoutingSettings |
withRangeCountLimit(int rangeCountLimit) |
RoutingSettings |
withRenderVanityFooter(boolean renderVanityFooter) |
RoutingSettings |
withVerboseErrorMessages(boolean verboseErrorMessages) |
public static RoutingSettings create(com.typesafe.config.Config config)
public static RoutingSettings create(java.lang.String configOverrides)
public static RoutingSettings create(org.apache.pekko.actor.ActorSystem system)
public abstract boolean getVerboseErrorMessages()
public abstract boolean getFileGetConditional()
public abstract boolean getRenderVanityFooter()
public abstract int getRangeCountLimit()
public abstract long getRangeCoalescingThreshold()
public abstract int getDecodeMaxBytesPerChunk()
public abstract java.lang.String getFileIODispatcher()
public RoutingSettings withVerboseErrorMessages(boolean verboseErrorMessages)
public RoutingSettings withFileGetConditional(boolean fileGetConditional)
public RoutingSettings withRenderVanityFooter(boolean renderVanityFooter)
public RoutingSettings withRangeCountLimit(int rangeCountLimit)
public RoutingSettings withRangeCoalescingThreshold(long rangeCoalescingThreshold)
public RoutingSettings withDecodeMaxBytesPerChunk(int decodeMaxBytesPerChunk)
public RoutingSettings withDecodeMaxSize(long decodeMaxSize)
public RoutingSettings withFileIODispatcher(java.lang.String fileIODispatcher)