Handler Generator
Generates or corrects the skeleton of handler classes and methods based on the handler reference of RouterFunction.
Target for analysis
By default, it scans sources under the routerPackage. Using scanWholeProject(true) will search for RouterFunction throughout the entire rootPath. It analyzes router bean parameters and handler::method references to match the necessary handler classes and methods.
Config options
rootPath
default source root
routerPackage
router package to scan
scanWholeProject
scan the entire root instead of the router package
handlerPackage
package of the generated class
handlerOutputDir
actual Java file output path
addAutoImport / autoImports
Add or completely replace regular imports
addStaticAutoImport / staticAutoImports
Add or completely replace static imports