Class ChannelHandlerMetadataUtil
java.lang.Object
io.netty.nativeimage.ChannelHandlerMetadataUtil
Generates native-image reflection metadata for subtypes of
io.netty.channel.ChannelHandler.
To use, create a JUnit test in the desired Netty module and invoke generateMetadata(String...) with a list
of packages present in the target Netty module that may contain subtypes of the ChannelHandler.
See io.netty.channel.NativeImageHandlerMetadataTest in the transport module.
This module does not depend on transport, so the ChannelHandler type is loaded by name. The calling
module must have transport on its test classpath, as well as org.reflections:reflections and
com.google.code.gson:gson.
-
Method Summary
-
Method Details
-
generateMetadata
-