Module io.avaje.jex
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
@Controllerand avaje-inject, avaje-http, avaje-config.Provides access to functions for handling the request and response.This interface represents a cookie used in HTTP communication.Cookie SameSite options.ExceptionHandler<T extends Exception>The routing error handler.A functional interface representing an HTTP request handler.A filter used to pre/post-process incoming requests.Filter chain that contains all subsequent filters that are configured, as well as the final route.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.