Class WebSocketCompressionSettingsImpl
java.lang.Object
org.apache.pekko.http.impl.settings.WebSocketCompressionSettingsImpl
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
public final class WebSocketCompressionSettingsImpl
extends Object
implements scala.Product, Serializable
INTERNAL API
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWebSocketCompressionSettingsImpl(boolean enabled, long maxAllocation, int compressionLevel, int preferredClientWindowSize, boolean allowServerNoContext, boolean preferredClientNoContext) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintDisabled()booleanenabled()fromConfig(com.typesafe.config.Config c) longbooleanintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
WebSocketCompressionSettingsImpl
public WebSocketCompressionSettingsImpl(boolean enabled, long maxAllocation, int compressionLevel, int preferredClientWindowSize, boolean allowServerNoContext, boolean preferredClientNoContext)
-
-
Method Details
-
Disabled
-
fromConfig
-
enabled
public boolean enabled() -
maxAllocation
public long maxAllocation() -
compressionLevel
public int compressionLevel() -
preferredClientWindowSize
public int preferredClientWindowSize() -
allowServerNoContext
public boolean allowServerNoContext() -
preferredClientNoContext
public boolean preferredClientNoContext()
-