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 API but not intended for subclassing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingSettings
apply
(com.typesafe.config.Config config) static RoutingSettings
abstract int
abstract long
abstract boolean
abstract String
Deprecated.binary compatibility method.int
long
boolean
Deprecated.binary compatibility method.long
int
boolean
boolean
abstract long
abstract int
abstract boolean
abstract boolean
withDecodeMaxBytesPerChunk
(int decodeMaxBytesPerChunk) withDecodeMaxSize
(long decodeMaxSize) withFileGetConditional
(boolean fileGetConditional) withFileIODispatcher
(String fileIODispatcher) Deprecated.binary compatibility method.withRangeCoalescingThreshold
(long rangeCoalescingThreshold) withRangeCountLimit
(int rangeCountLimit) withRenderVanityFooter
(boolean renderVanityFooter) withVerboseErrorMessages
(boolean verboseErrorMessages) Methods inherited from class akka.http.javadsl.settings.RoutingSettings
create, create, create
-
Constructor Details
-
RoutingSettings
public RoutingSettings()
-
-
Method Details
-
apply
-
apply
-
verboseErrorMessages
public abstract boolean verboseErrorMessages() -
fileGetConditional
public abstract boolean fileGetConditional() -
rangeCountLimit
public abstract int rangeCountLimit() -
rangeCoalescingThreshold
public abstract long rangeCoalescingThreshold() -
decodeMaxBytesPerChunk
public abstract int decodeMaxBytesPerChunk() -
decodeMaxSize
public abstract long decodeMaxSize() -
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
-
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
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
- Overrides:
withVerboseErrorMessages
in classRoutingSettings
-
withFileGetConditional
- Overrides:
withFileGetConditional
in classRoutingSettings
-
withRangeCountLimit
- Overrides:
withRangeCountLimit
in classRoutingSettings
-
withRangeCoalescingThreshold
- Overrides:
withRangeCoalescingThreshold
in classRoutingSettings
-
withDecodeMaxBytesPerChunk
- Overrides:
withDecodeMaxBytesPerChunk
in classRoutingSettings
-
withDecodeMaxSize
- Overrides:
withDecodeMaxSize
in classRoutingSettings
-
withFileIODispatcher
Deprecated.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.- Overrides:
withFileIODispatcher
in classRoutingSettings
-