Uses of Class
io.avaje.jex.Jex
Packages that use Jex
-
Uses of Jex in io.avaje.jex
Methods in io.avaje.jex that return JexModifier and TypeMethodDescriptionJex.accessManager(AccessManager accessManager)Set the AccessManager.StaticFileConfig.addClasspath(String path)StaticFileConfig.addClasspath(String urlPrefix, String path)StaticFileConfig.addExternal(String path)StaticFileConfig.addExternal(String urlPrefix, String path)Configure via a lambda taking the jex instance.Set the context path.static JexJex.create()Create Jex to configure with routes etc before starting.Jex.errorHandling(ErrorHandling.Service service)Configure error handlers.Jex.exception(Class<T> exceptionClass, ExceptionHandler<T> handler)Add an exception handler for the given exception type.Jex.jsonService(JsonService jsonService)Set the JsonService.Jex.port(int port)Set the port to use.Jex.register(TemplateRender renderer, String... extensions)Explicitly register a template renderer.Jex.routing(Routing.Service routes)Add routes and handlers to the routing.Jex.routing(Collection<Routing.Service> routes)Add many routes and handlers to the routing.Method parameters in io.avaje.jex with type arguments of type Jex -
Uses of Jex in io.avaje.jex.spi
Methods in io.avaje.jex.spi with parameters of type JexModifier and TypeMethodDescriptionReturn the started server.