-
class
Middleware that sets base URL attribute to request.
class
Middleware
that uses HttpServletRequest and HttpServletResponse.
class
Implementation of
Router
that uses HttpServletRequest and HttpServletResponse.
class
Middleware<Request extends javax.servlet.ServletRequest,Response extends javax.servlet.ServletResponse>
Represents component that is used to handle requests.
class
Router<Request extends javax.servlet.ServletRequest,Response extends javax.servlet.ServletResponse>
Registers handlers and controllers to specific paths and performs routing for incoming requests.
final void
Registers handler(s) for all paths.
Registers array of handlers and controller(s) for all paths.
Router.register(Handler<Request,Response> handler1,
Handler<Request,Response> handler2,
Handler<Request,Response> handler3,
Handler<Request,Response> handler4,
Handler<Request,Response> handler5,
Class<T>... controllers)
Registers five handlers and controller(s) for all paths.
Registers four handlers and controller(s) for all paths.
Registers three handlers and controller(s) for all paths.
Registers two handlers and controller(s) for all paths.
Registers handler and controller(s) for the specified path.
final void
Registers handler(s) for the specified path.
Registers array of handlers and controller(s) for the specified path.
Router.register(String path,
Handler<Request,Response> handler1,
Handler<Request,Response> handler2,
Handler<Request,Response> handler3,
Handler<Request,Response> handler4,
Handler<Request,Response> handler5,
Class<T>... controllers)
Registers five handlers and controller(s) for the specified path.
Registers four handlers and controller(s) for the specified path.
Registers three handlers and controller(s) for the specified path.
Registers two handlers and controller(s) for the specified path.
Registers handler and controller(s) for the specified path.
final void
Registers list of handlers for the specified path.
Registers list of handlers and controller(s) for the specified path.
Registers list of handlers and list of controllers for the specified path.
final void
Registers list of handlers for all paths.
Registers list of handlers and controller(s) for all paths.
Registers list of handlers and list of controllers for all paths.