public abstract class RoutingSettings extends RoutingSettings
Constructor and Description |
---|
RoutingSettings() |
Modifier and Type | Method and Description |
---|---|
static RoutingSettings |
apply(com.typesafe.config.Config config) |
static RoutingSettings |
apply(java.lang.String configOverrides) |
abstract int |
decodeMaxBytesPerChunk() |
abstract long |
decodeMaxSize() |
abstract boolean |
fileGetConditional() |
abstract 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.
|
int |
getDecodeMaxBytesPerChunk() |
long |
getDecodeMaxSize() |
boolean |
getFileGetConditional() |
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.
|
long |
getRangeCoalescingThreshold() |
int |
getRangeCountLimit() |
boolean |
getRenderVanityFooter() |
boolean |
getVerboseErrorMessages() |
abstract long |
rangeCoalescingThreshold() |
abstract int |
rangeCountLimit() |
abstract boolean |
renderVanityFooter() |
abstract boolean |
verboseErrorMessages() |
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) |
create, create, create
public static RoutingSettings apply(com.typesafe.config.Config config)
public static RoutingSettings apply(java.lang.String configOverrides)
public abstract boolean verboseErrorMessages()
public abstract boolean fileGetConditional()
public abstract boolean renderVanityFooter()
public abstract int rangeCountLimit()
public abstract long rangeCoalescingThreshold()
public abstract int decodeMaxBytesPerChunk()
public abstract long decodeMaxSize()
public abstract java.lang.String fileIODispatcher()
public boolean getVerboseErrorMessages()
getVerboseErrorMessages
in class RoutingSettings
public boolean getFileGetConditional()
getFileGetConditional
in class RoutingSettings
public boolean getRenderVanityFooter()
getRenderVanityFooter
in class RoutingSettings
public int getRangeCountLimit()
getRangeCountLimit
in class RoutingSettings
public long getRangeCoalescingThreshold()
getRangeCoalescingThreshold
in class RoutingSettings
public int getDecodeMaxBytesPerChunk()
getDecodeMaxBytesPerChunk
in class RoutingSettings
public long getDecodeMaxSize()
public java.lang.String getFileIODispatcher()
getFileIODispatcher
in class RoutingSettings
public RoutingSettings withVerboseErrorMessages(boolean verboseErrorMessages)
withVerboseErrorMessages
in class RoutingSettings
public RoutingSettings withFileGetConditional(boolean fileGetConditional)
withFileGetConditional
in class RoutingSettings
public RoutingSettings withRenderVanityFooter(boolean renderVanityFooter)
withRenderVanityFooter
in class RoutingSettings
public RoutingSettings withRangeCountLimit(int rangeCountLimit)
withRangeCountLimit
in class RoutingSettings
public RoutingSettings withRangeCoalescingThreshold(long rangeCoalescingThreshold)
withRangeCoalescingThreshold
in class RoutingSettings
public RoutingSettings withDecodeMaxBytesPerChunk(int decodeMaxBytesPerChunk)
withDecodeMaxBytesPerChunk
in class RoutingSettings
public RoutingSettings withDecodeMaxSize(long decodeMaxSize)
withDecodeMaxSize
in class RoutingSettings
public RoutingSettings withFileIODispatcher(java.lang.String fileIODispatcher)
withFileIODispatcher
in class RoutingSettings