Module io.avaje.jex.staticcontent
Package io.avaje.jex.staticcontent
package io.avaje.jex.staticcontent
Static Content API - see
StaticContent.
var staticContent = StaticContentService.createCP("/public").httpPath("/").directoryIndex("index.html");
final Jex.Server app = Jex.create()
.plugin(staticContent)
.port(8080)
.start();
app.shutdown();
-
InterfacesClassDescriptionLoading resources from the classpath or module path.Static content resource handler.Builder for StaticContent.