Uses of Interface
io.avaje.jex.Routing
Packages that use Routing
-
Uses of Routing in io.avaje.jex
Methods in io.avaje.jex that return RoutingModifier and TypeMethodDescriptionRouting.add(Routing.HttpService service) Add the routes provided by the given HttpService.Routing.addAll(Collection<Routing.HttpService> routes) Add all the routes provided by the Routing Services.default RoutingAdd a post-processing filter for all matched requests.default RoutingAdd a pre-processing filter for all matched requests.Routing.delete(String path, ExchangeHandler handler, Role... roles) Adds a DELETE handler to the route configuration.Routing.error(Class<T> exceptionClass, ExceptionHandler<T> handler) Registers an exception handler that handles the given type of exceptions.Routing.filter(HttpFilter handler) Add a filter for all matched requests.Routing.get(String path, ExchangeHandler handler, Role... roles) Adds a GET handler to the route configuration.Routing.group(String path, Routing.HttpService group) Add a group of route handlers with a common path prefix.Routing.head(String path, ExchangeHandler handler, Role... roles) Adds a HEAD handler to the route configuration.Routing.options(String path, ExchangeHandler handler, Role... roles) Adds an OPTIONS handler to the route configuration.Routing.patch(String path, ExchangeHandler handler, Role... roles) Adds a PATCH handler to the route configuration.Routing.post(String path, ExchangeHandler handler, Role... roles) Adds a POST handler to the route configuration.Routing.put(String path, ExchangeHandler handler, Role... roles) Adds a PUT handler to the route configuration.Jex.routing()Returns the routing configuration object, allowing for further customization.Routing.trace(String path, ExchangeHandler handler, Role... roles) Adds a TRACE handler to the route configuration.Methods in io.avaje.jex with parameters of type Routing