Uses of Interface
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) <T> JexSet a custom attribute that can be used by an implementation.Configure via a lambda taking the JexConfig instance.Jex.configureWith(io.avaje.inject.BeanScope beanScope) Configure given the dependency injection scope from avaje-inject.Set the context path.static JexJex.create()Create Jex.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.Add Plugin functionality.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.Jex.serverConfig(ServerConfig serverConfig) Set the server specific configuration.Methods in io.avaje.jex with parameters of type Jex -
Uses of Jex in io.avaje.jex.core
Methods in io.avaje.jex.core with parameters of type JexModifier and TypeMethodDescriptionvoid -
Uses of Jex in io.avaje.jex.spi
Methods in io.avaje.jex.spi with parameters of type JexModifier and TypeMethodDescriptionSpiStartServer.start(Jex jex, SpiRoutes routes, SpiServiceManager serviceManager) Return the started server.