Class ServletWebSocketConfiguration.CompressionConfiguration
java.lang.Object
io.micronaut.servlet.websocket.ServletWebSocketConfiguration.CompressionConfiguration
- Enclosing class:
ServletWebSocketConfiguration
@ConfigurationProperties("compression")
public static class ServletWebSocketConfiguration.CompressionConfiguration
extends Object
Configuration for the
permessage-deflate extension.- Since:
- 6.2.0
- Author:
- graemerocher
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CompressionConfiguration
public CompressionConfiguration()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Returns:
- Whether
permessage-deflatemay be negotiated. Defaults totrue.
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled- Whetherpermessage-deflatemay be negotiated
-