Module io.avaje.jex.staticcontent
module io.avaje.jex.staticcontent
Defines the Static Content API for serving static resources with Jex - see
StaticContent
.
var staticContent = StaticContentService.createCP("/public").httpPath("/").directoryIndex("index.html");
final Jex.Server app = Jex.create()
.plugin(staticContent)
.port(8080)
.start();
app.shutdown();
-
Packages
Exports