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 requests.default RoutingAdd a pre-processing filter for all requests.Routing.delete(String path, ExchangeHandler handler) Add a DELETE handler.Routing.error(Class<T> exceptionClass, ExceptionHandler<T> handler) Registers an error handler that handles the given type of exceptions.Routing.filter(HttpFilter handler) Add a filter for all requests.Routing.get(String path, ExchangeHandler handler) Add a GET handler.Routing.head(String path, ExchangeHandler handler) Add a HEAD handler.Routing.options(String path, ExchangeHandler handler) Add an OPTIONS handler.Routing.patch(String path, ExchangeHandler handler) Add a PATCH handler.Routing.path(String path, Routing.Group group) Add a group of route handlers with a common path prefix.Routing.post(String path, ExchangeHandler handler) Add a POST handler.Routing.put(String path, ExchangeHandler handler) Add a PUT handler.Jex.routing()Returns the routing configuration object, allowing for further customization.Routing.trace(String path, ExchangeHandler handler) Add a TRACE handler.Specify permittedRoles for the last added handler using varargs.Specify permittedRoles for the last added handler.Methods in io.avaje.jex with parameters of type Routing