Class NettyGlobalConfiguration
java.lang.Object
io.micronaut.http.netty.configuration.NettyGlobalConfiguration
Allows configuring Netty global properties.
- Since:
- 2.5.0
- Author:
- Denis Stepannov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.util.ResourceLeakDetector.Level
Provides the value set for the resource leak detection.void
setResourceLeakDetectorLevel
(io.netty.util.ResourceLeakDetector.Level resourceLeakDetectorLevel) Sets the resource leak detection level.
-
Constructor Details
-
NettyGlobalConfiguration
public NettyGlobalConfiguration()
-
-
Method Details
-
setResourceLeakDetectorLevel
public void setResourceLeakDetectorLevel(io.netty.util.ResourceLeakDetector.Level resourceLeakDetectorLevel) Sets the resource leak detection level.- Parameters:
resourceLeakDetectorLevel
- the resource leak detection level
-
getResourceLeakDetectorLevel
Provides the value set for the resource leak detection.- Returns:
- the resource leak detection level
-