ARouter
0.1.0
Annotation based router for your projects
|
The easiest way of getting router object is to use RouterFactory
class.
To get a simple annotation based router just call
and pass the path to the controllers directory as the first parameter. You can also provide custom HTTP message converters and argument resolvers as 2nd and 3rd arguments.
To get a cached annotation based router just call
and pass the path to the controllers directory as the first parameter and optionally cache file name as a second argument.
You can also provide custom HTTP message converters and argument resolvers as 3rd and 4th arguments.
In order to clear the route mappings cache call