Class RoutingSettings
java.lang.Object
org.apache.pekko.http.javadsl.settings.RoutingSettings
- Direct Known Subclasses:
RoutingSettings
Public API but not intended for subclassing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingSettingscreate(com.typesafe.config.Config config) static RoutingSettingsstatic RoutingSettingscreate(org.apache.pekko.actor.ActorSystem system) abstract intabstract booleanabstract longabstract intabstract booleanWhethergetFromResourcerejects a resource name that contains a..segment, a backslash or a NUL character instead of passing it to the class loader.abstract booleanabstract booleanabstract booleanwithDecodeMaxBytesPerChunk(int decodeMaxBytesPerChunk) withDecodeMaxSize(long decodeMaxSize) withFileGetConditional(boolean fileGetConditional) withRangeCoalescingThreshold(long rangeCoalescingThreshold) withRangeCountLimit(int rangeCountLimit) withRejectUnsafeResourceNames(boolean rejectUnsafeResourceNames) withRenderVanityFooter(boolean renderVanityFooter) withUseJarFileCache(boolean useJarFileCache) withVerboseErrorMessages(boolean verboseErrorMessages)
-
Constructor Details
-
RoutingSettings
public RoutingSettings()
-
-
Method Details
-
create
-
create
-
create
-
getVerboseErrorMessages
public abstract boolean getVerboseErrorMessages() -
getFileGetConditional
public abstract boolean getFileGetConditional() -
getRangeCountLimit
public abstract int getRangeCountLimit() -
getRangeCoalescingThreshold
public abstract long getRangeCoalescingThreshold() -
getDecodeMaxBytesPerChunk
public abstract int getDecodeMaxBytesPerChunk() -
getUseJarFileCache
public abstract boolean getUseJarFileCache()- Returns:
- (undocumented)
- Since:
- 2.0.0
-
getRejectUnsafeResourceNames
public abstract boolean getRejectUnsafeResourceNames()WhethergetFromResourcerejects a resource name that contains a..segment, a backslash or a NUL character instead of passing it to the class loader.- Returns:
- (undocumented)
- Since:
- 2.0.0
-
withVerboseErrorMessages
-
withFileGetConditional
-
withRangeCountLimit
-
withRangeCoalescingThreshold
-
withDecodeMaxBytesPerChunk
-
withDecodeMaxSize
-
withUseJarFileCache
- Parameters:
useJarFileCache- (undocumented)- Returns:
- (undocumented)
- Since:
- 2.0.0
-
withRejectUnsafeResourceNames
- Parameters:
rejectUnsafeResourceNames- (undocumented)- Returns:
- (undocumented)
- Since:
- 2.0.0
-