Uses of Interface
io.javalin.http.Handler
-
Packages that use Handler Package Description io.javalin io.javalin.apibuilder io.javalin.core io.javalin.core.security -
-
Uses of Handler in io.javalin
Methods in io.javalin with parameters of type Handler Modifier and Type Method Description JavalinJavalin. addHandler(io.javalin.http.HandlerType httpMethod, String path, Handler handler)Adds a request handler for the specified handlerType and path to the instance.JavalinJavalin. addHandler(io.javalin.http.HandlerType handlerType, String path, Handler handler, RouteRole... roles)Adds a request handler for the specified handlerType and path to the instance.JavalinJavalin. after(Handler handler)Adds an AFTER request handler for all routes in the instance.JavalinJavalin. after(String path, Handler handler)Adds an AFTER request handler for the specified path to the instance.JavalinJavalin. before(Handler handler)Adds a BEFORE request handler for all routes in the instance.JavalinJavalin. before(String path, Handler handler)Adds a BEFORE request handler for the specified path to the instance.JavalinJavalin. delete(String path, Handler handler)Adds a DELETE request handler for the specified path to the instance.JavalinJavalin. delete(String path, Handler handler, RouteRole... roles)Adds a DELETE request handler with the given roles for the specified path to the instance.JavalinJavalin. error(int statusCode, Handler handler)Adds an error mapper to the instance.JavalinJavalin. error(int statusCode, String contentType, Handler handler)Adds an error mapper for the specified content-type to the instance.JavalinJavalin. get(String path, Handler handler)Adds a GET request handler for the specified path to the instance.JavalinJavalin. get(String path, Handler handler, RouteRole... roles)Adds a GET request handler with the given roles for the specified path to the instance.JavalinJavalin. head(String path, Handler handler)Adds a HEAD request handler for the specified path to the instance.JavalinJavalin. head(String path, Handler handler, RouteRole... roles)Adds a HEAD request handler with the given roles for the specified path to the instance.JavalinJavalin. options(String path, Handler handler)Adds a OPTIONS request handler for the specified path to the instance.JavalinJavalin. options(String path, Handler handler, RouteRole... roles)Adds a OPTIONS request handler with the given roles for the specified path to the instance.JavalinJavalin. patch(String path, Handler handler)Adds a PATCH request handler for the specified path to the instance.JavalinJavalin. patch(String path, Handler handler, RouteRole... roles)Adds a PATCH request handler with the given roles for the specified path to the instance.JavalinJavalin. post(String path, Handler handler)Adds a POST request handler for the specified path to the instance.JavalinJavalin. post(String path, Handler handler, RouteRole... roles)Adds a POST request handler with the given roles for the specified path to the instance.JavalinJavalin. put(String path, Handler handler)Adds a PUT request handler for the specified path to the instance.JavalinJavalin. put(String path, Handler handler, RouteRole... roles)Adds a PUT request handler with the given roles for the specified path to the instance. -
Uses of Handler in io.javalin.apibuilder
Methods in io.javalin.apibuilder with parameters of type Handler Modifier and Type Method Description static voidApiBuilder. after(Handler handler)Adds a AFTER request handler for the current path to theJavalininstance.static voidApiBuilder. after(String path, Handler handler)Adds an AFTER request handler for the specified path to theJavalininstance.static voidApiBuilder. before(Handler handler)Adds a BEFORE request handler for the current path to theJavalininstance.static voidApiBuilder. before(String path, Handler handler)Adds a BEFORE request handler for the specified path to theJavalininstance.static voidApiBuilder. delete(Handler handler)Adds a DELETE request handler for the current path to theJavalininstance.static voidApiBuilder. delete(Handler handler, RouteRole... roles)Adds a DELETE request handler with the given roles for the current path to the instance.static voidApiBuilder. delete(String path, Handler handler)Adds a DELETE request handler for the specified path to theJavalininstance.static voidApiBuilder. delete(String path, Handler handler, RouteRole... roles)Adds a DELETE request handler with the given roles for the specified path to the instance.static voidApiBuilder. get(Handler handler)Adds a GET request handler for the current path to theJavalininstance.static voidApiBuilder. get(Handler handler, RouteRole... roles)Adds a GET request handler with the given roles for the current path to the instance.static voidApiBuilder. get(String path, Handler handler)Adds a GET request handler for the specified path to theJavalininstance.static voidApiBuilder. get(String path, Handler handler, RouteRole... roles)Adds a GET request handler with the given roles for the specified path to the instance.static voidApiBuilder. head(Handler handler)Adds a HEAD request handler for the current path to theJavalininstance.static voidApiBuilder. head(Handler handler, RouteRole... roles)Adds a HEAD request handler with the given roles for the current path to the instance.static voidApiBuilder. head(String path, Handler handler)Adds a HEAD request handler for the specified path to theJavalininstance.static voidApiBuilder. head(String path, Handler handler, RouteRole... roles)Adds a HEAD request handler with the given roles for the specified path to the instance.static voidApiBuilder. patch(Handler handler)Adds a PATCH request handler for the current path to theJavalininstance.static voidApiBuilder. patch(Handler handler, RouteRole... roles)Adds a PATCH request handler with the given roles for the current path to the instance.static voidApiBuilder. patch(String path, Handler handler)Adds a PATCH request handler for the specified path to theJavalininstance.static voidApiBuilder. patch(String path, Handler handler, RouteRole... roles)Adds a PATCH request handler with the given roles for the specified path to the instance.static voidApiBuilder. post(Handler handler)Adds a POST request handler for the current path to theJavalininstance.static voidApiBuilder. post(Handler handler, RouteRole... roles)Adds a POST request handler with the given roles for the current path to the instance.static voidApiBuilder. post(String path, Handler handler)Adds a POST request handler for the specified path to theJavalininstance.static voidApiBuilder. post(String path, Handler handler, RouteRole... roles)Adds a POST request handler with the given roles for the specified path to the instance.static voidApiBuilder. put(Handler handler)Adds a PUT request handler for the current path to theJavalininstance.static voidApiBuilder. put(Handler handler, RouteRole... roles)Adds a PUT request handler with the given roles for the current path to the instance.static voidApiBuilder. put(String path, Handler handler)Adds a PUT request handler for the specified path to theJavalininstance.static voidApiBuilder. put(String path, Handler handler, RouteRole... roles)Adds a PUT request handler with the given roles for the specified path to the instance. -
Uses of Handler in io.javalin.core
Methods in io.javalin.core with parameters of type Handler Modifier and Type Method Description voidJavalinConfig. addSinglePageHandler(String hostedPath, Handler customHandler) -
Uses of Handler in io.javalin.core.security
Methods in io.javalin.core.security with parameters of type Handler Modifier and Type Method Description voidAccessManager. manage(Handler handler, io.javalin.http.Context ctx, Set<RouteRole> routeRoles)
-