Class RoutingSettings
java.lang.Object
org.apache.pekko.http.javadsl.settings.RoutingSettings
org.apache.pekko.http.scaladsl.settings.RoutingSettings
- Direct Known Subclasses:
RoutingSettingsImpl
Public API but not intended for subclassing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingSettingsapply(com.typesafe.config.Config config) static RoutingSettingsabstract intabstract longabstract booleanintlongbooleanlongintbooleanbooleanbooleanabstract longabstract intabstract booleanabstract booleanWhether resources that live in a jar file are served through the JDK's jar file cache, the same cache the class loader uses, instead of opening and parsing the jar file for every request.abstract booleanwithDecodeMaxBytesPerChunk(int decodeMaxBytesPerChunk) withDecodeMaxSize(long decodeMaxSize) withFileGetConditional(boolean fileGetConditional) withRangeCoalescingThreshold(long rangeCoalescingThreshold) withRangeCountLimit(int rangeCountLimit) withRenderVanityFooter(boolean renderVanityFooter) withUseJarFileCache(boolean useJarFileCache) withVerboseErrorMessages(boolean verboseErrorMessages) Methods inherited from class org.apache.pekko.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() -
useJarFileCache
public abstract boolean useJarFileCache()Whether resources that live in a jar file are served through the JDK's jar file cache, the same cache the class loader uses, instead of opening and parsing the jar file for every request.- Returns:
- (undocumented)
- Since:
- 2.0.0
-
getVerboseErrorMessages
public boolean getVerboseErrorMessages()- Specified by:
getVerboseErrorMessagesin classRoutingSettings
-
getFileGetConditional
public boolean getFileGetConditional()- Specified by:
getFileGetConditionalin classRoutingSettings
-
getRangeCountLimit
public int getRangeCountLimit()- Specified by:
getRangeCountLimitin classRoutingSettings
-
getRangeCoalescingThreshold
public long getRangeCoalescingThreshold()- Specified by:
getRangeCoalescingThresholdin classRoutingSettings
-
getDecodeMaxBytesPerChunk
public int getDecodeMaxBytesPerChunk()- Specified by:
getDecodeMaxBytesPerChunkin classRoutingSettings
-
getDecodeMaxSize
public long getDecodeMaxSize() -
getUseJarFileCache
public boolean getUseJarFileCache()- Specified by:
getUseJarFileCachein classRoutingSettings- Returns:
- (undocumented)
- Since:
- 2.0.0
-
withVerboseErrorMessages
- Overrides:
withVerboseErrorMessagesin classRoutingSettings
-
withFileGetConditional
- Overrides:
withFileGetConditionalin classRoutingSettings
-
withRangeCountLimit
- Overrides:
withRangeCountLimitin classRoutingSettings
-
withRangeCoalescingThreshold
- Overrides:
withRangeCoalescingThresholdin classRoutingSettings
-
withDecodeMaxBytesPerChunk
- Overrides:
withDecodeMaxBytesPerChunkin classRoutingSettings
-
withDecodeMaxSize
- Overrides:
withDecodeMaxSizein classRoutingSettings
-
withUseJarFileCache
- Overrides:
withUseJarFileCachein classRoutingSettings- Parameters:
useJarFileCache- (undocumented)- Returns:
- (undocumented)
- Since:
- 2.0.0
-