Class NettyGlobalConfiguration
- java.lang.Object
-
- io.micronaut.http.netty.configuration.NettyGlobalConfiguration
-
@ConfigurationProperties("netty") public class NettyGlobalConfiguration extends java.lang.ObjectAllows configuring Netty global properties.- Since:
- 2.5.0
-
-
Constructor Summary
Constructors Constructor Description NettyGlobalConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.util.ResourceLeakDetector.LevelgetResourceLeakDetectorLevel()Provides the value set for the resource leak detection.voidsetResourceLeakDetectorLevel(io.netty.util.ResourceLeakDetector.Level resourceLeakDetectorLevel)Sets the resource leak detection level.
-
-
-
Method Detail
-
setResourceLeakDetectorLevel
public void setResourceLeakDetectorLevel(io.netty.util.ResourceLeakDetector.Level resourceLeakDetectorLevel)
Sets the resource leak detection level.- Parameters:
resourceLeakDetectorLevel- the resource leak detection level
-
getResourceLeakDetectorLevel
@Nullable public io.netty.util.ResourceLeakDetector.Level getResourceLeakDetectorLevel()
Provides the value set for the resource leak detection.- Returns:
- the resource leak detection level
-
-