Uses of Class
io.avaje.jex.Jex
| Package | Description |
|---|---|
| io.avaje.jex | |
| io.avaje.jex.core | |
| 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)<T> JexJex. attribute(Class<T> cls, T instance)Set a custom attribute that can be used by an implementation.JexJex. configure(Consumer<Jex> configure)Configure via a lambda taking the jex instance.JexJex. configureWith(io.avaje.inject.BeanScope beanScope)Configure given the dependency injection scope from avaje-inject.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. plugin(Plugin plugin)Add Plugin functionality.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.JexJex. routing(Collection<Routing.Service> routes)Add many routes and handlers to the routing.JexJex. serverConfig(ServerConfig serverConfig)Set the server specific configuration.Methods in io.avaje.jex with parameters of type Jex Modifier and Type Method Description voidPlugin. apply(Jex jex)Register the plugin features with jex. -
Uses of Jex in io.avaje.jex.core
Methods in io.avaje.jex.core with parameters of type Jex Modifier and Type Method Description voidHealthPlugin. apply(Jex jex)SpiServiceManagerBootstapServiceManager. create(Jex jex) -
Uses of Jex in io.avaje.jex.spi
Methods in io.avaje.jex.spi with parameters of type Jex Modifier and Type Method Description SpiServiceManagerSpiServiceManagerProvider. create(Jex jex)Jex.ServerSpiStartServer. start(Jex jex, SpiRoutes routes, SpiServiceManager serviceManager)Return the started server.