Package io.avaje.jex
package io.avaje.jex
Avaje Jex API - see
Jex.
final Jex.Server app = Jex.create()
.get("/", ctx -> ctx.text("hello world"))
.get("/one", ctx -> ctx.text("one"))
.port(8080)
.start();
app.shutdown();
-
ClassDescriptionDefines the lifecycle configuration for an application.Represents the possible states of the application server.Start Jex using avaje-inject, avaje-http, avaje-config.Create configure and start Jex.The running server.Jex configuration interface.Routing abstraction.A routing entry.Adds to the Routing.The type of route entry.