Uses of Class
io.github.jirkasa.servletrouter.Controller
-
Uses of Controller in io.github.jirkasa.servletrouter
Modifier and TypeClassDescriptionclass
ErrorController<Request extends javax.servlet.ServletRequest,
Response extends javax.servlet.ServletResponse> class
Implementation ofController
that uses HTTP protocol (HttpServletRequest and HttpServletResponse).class
ErrorController
that uses HttpServletRequest and HttpServletResponse.Modifier and TypeMethodDescriptionfinal <T extends Controller<Request,
Response>>
voidRegisters array of handlers and controller(s) for all paths.final <T extends Controller<Request,
Response>>
voidRouter.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.final <T extends Controller<Request,
Response>>
voidRouter.register
(Handler<Request, Response> handler1, Handler<Request, Response> handler2, Handler<Request, Response> handler3, Handler<Request, Response> handler4, Class<T>... controllers) Registers four handlers and controller(s) for all paths.final <T extends Controller<Request,
Response>>
voidRouter.register
(Handler<Request, Response> handler1, Handler<Request, Response> handler2, Handler<Request, Response> handler3, Class<T>... controllers) Registers three handlers and controller(s) for all paths.final <T extends Controller<Request,
Response>>
voidRouter.register
(Handler<Request, Response> handler1, Handler<Request, Response> handler2, Class<T>... controllers) Registers two handlers and controller(s) for all paths.final <T extends Controller<Request,
Response>>
voidRegisters handler and controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRegisters controller(s) for all paths.final <T extends Controller<Request,
Response>>
voidRegisters array of handlers and controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRouter.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.final <T extends Controller<Request,
Response>>
voidRouter.register
(String path, Handler<Request, Response> handler1, Handler<Request, Response> handler2, Handler<Request, Response> handler3, Handler<Request, Response> handler4, Class<T>... controllers) Registers four handlers and controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRouter.register
(String path, Handler<Request, Response> handler1, Handler<Request, Response> handler2, Handler<Request, Response> handler3, Class<T>... controllers) Registers three handlers and controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRouter.register
(String path, Handler<Request, Response> handler1, Handler<Request, Response> handler2, Class<T>... controllers) Registers two handlers and controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRegisters handler and controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRegisters controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRegisters list of handlers and controller(s) for the specified path.final <T extends Controller<Request,
Response>>
voidRegisters list of handlers and list of controllers for the specified path.final <T extends Controller<Request,
Response>>
voidRegisters list of handlers and controller(s) for all paths.final <T extends Controller<Request,
Response>>
voidRegisters list of handlers and list of controllers for all paths.