Package akka.http.scaladsl.settings
Class RoutingSettings
- java.lang.Object
-
- akka.http.javadsl.settings.RoutingSettings
-
- akka.http.scaladsl.settings.RoutingSettings
-
- Direct Known Subclasses:
RoutingSettingsImpl
public abstract class RoutingSettings extends RoutingSettings
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
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.int
getDecodeMaxBytesPerChunk()
long
getDecodeMaxSize()
boolean
getFileGetConditional()
java.lang.String
getFileIODispatcher()
Deprecated.binary compatibility method.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.RoutingSettings
withRangeCoalescingThreshold(long rangeCoalescingThreshold)
RoutingSettings
withRangeCountLimit(int rangeCountLimit)
RoutingSettings
withRenderVanityFooter(boolean renderVanityFooter)
RoutingSettings
withVerboseErrorMessages(boolean verboseErrorMessages)
-
Methods inherited from class akka.http.javadsl.settings.RoutingSettings
create, create, create
-
-
-
-
Method Detail
-
apply
public static RoutingSettings apply(com.typesafe.config.Config config)
-
apply
public static RoutingSettings apply(java.lang.String configOverrides)
-
verboseErrorMessages
public abstract boolean verboseErrorMessages()
-
fileGetConditional
public abstract boolean fileGetConditional()
-
renderVanityFooter
public abstract boolean renderVanityFooter()
-
rangeCountLimit
public abstract int rangeCountLimit()
-
rangeCoalescingThreshold
public abstract long rangeCoalescingThreshold()
-
decodeMaxBytesPerChunk
public abstract int decodeMaxBytesPerChunk()
-
decodeMaxSize
public abstract long decodeMaxSize()
-
fileIODispatcher
public abstract java.lang.String fileIODispatcher()
Deprecated.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.
-
getVerboseErrorMessages
public boolean getVerboseErrorMessages()
- Specified by:
getVerboseErrorMessages
in classRoutingSettings
-
getFileGetConditional
public boolean getFileGetConditional()
- Specified by:
getFileGetConditional
in classRoutingSettings
-
getRenderVanityFooter
public boolean getRenderVanityFooter()
- Specified by:
getRenderVanityFooter
in classRoutingSettings
-
getRangeCountLimit
public int getRangeCountLimit()
- Specified by:
getRangeCountLimit
in classRoutingSettings
-
getRangeCoalescingThreshold
public long getRangeCoalescingThreshold()
- Specified by:
getRangeCoalescingThreshold
in classRoutingSettings
-
getDecodeMaxBytesPerChunk
public int getDecodeMaxBytesPerChunk()
- Specified by:
getDecodeMaxBytesPerChunk
in classRoutingSettings
-
getDecodeMaxSize
public long getDecodeMaxSize()
-
getFileIODispatcher
public java.lang.String getFileIODispatcher()
Deprecated.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.- Specified by:
getFileIODispatcher
in classRoutingSettings
-
withVerboseErrorMessages
public RoutingSettings withVerboseErrorMessages(boolean verboseErrorMessages)
- Overrides:
withVerboseErrorMessages
in classRoutingSettings
-
withFileGetConditional
public RoutingSettings withFileGetConditional(boolean fileGetConditional)
- Overrides:
withFileGetConditional
in classRoutingSettings
-
withRenderVanityFooter
public RoutingSettings withRenderVanityFooter(boolean renderVanityFooter)
- Overrides:
withRenderVanityFooter
in classRoutingSettings
-
withRangeCountLimit
public RoutingSettings withRangeCountLimit(int rangeCountLimit)
- Overrides:
withRangeCountLimit
in classRoutingSettings
-
withRangeCoalescingThreshold
public RoutingSettings withRangeCoalescingThreshold(long rangeCoalescingThreshold)
- Overrides:
withRangeCoalescingThreshold
in classRoutingSettings
-
withDecodeMaxBytesPerChunk
public RoutingSettings withDecodeMaxBytesPerChunk(int decodeMaxBytesPerChunk)
- Overrides:
withDecodeMaxBytesPerChunk
in classRoutingSettings
-
withDecodeMaxSize
public RoutingSettings withDecodeMaxSize(long decodeMaxSize)
- Overrides:
withDecodeMaxSize
in classRoutingSettings
-
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.- Overrides:
withFileIODispatcher
in classRoutingSettings
-
-