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