Class RoutingSettings

java.lang.Object
akka.http.javadsl.settings.RoutingSettings
Direct Known Subclasses:
RoutingSettings

public abstract class RoutingSettings extends Object
Public API but not intended for subclassing
  • Constructor Details

    • RoutingSettings

      public RoutingSettings()
  • Method Details

    • create

      public static RoutingSettings create(com.typesafe.config.Config config)
    • create

      public static RoutingSettings create(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 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(String fileIODispatcher)
      Deprecated.
      binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.