ignoreContextPath property
Whether to not include the context path from environment (if available) when accessing this controller.
When true, excludes the application context path from the route mapping.
By default, the application context path is automatically prepended to
the route. Set this to true to use the exact route pattern without
any context path prefix.
Default Behavior
false: Route becomes/context-path/{route}true: Route remains exactly as specified/{route}
Example
// With context path "/myapp"
@Controller("/home") // Maps to /myapp/home
@Controller("/admin", true) // Maps to /admin (ignores /myapp)
Implementation
final bool ignoreContextPath;