public class GuiWebPageHandler extends WebPageHandler
Modifier and Type | Class and Description |
---|---|
(package private) class |
GuiWebPageHandler.GuiWebPageKeysProvider
Builds the target map of keys and their value providers for the associated template
given by the skeleton page.
|
WebPageHandler.WebPageKeysProvider
HtmlResourceHandler.HtmlTemplateKeysProvider
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
config
Constructor and Description |
---|
GuiWebPageHandler(BootstrapConfig config,
java.lang.String root,
java.lang.String skel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.function.Supplier<java.lang.String>> |
getTemplateKeys(org.eclipse.jetty.server.Request base)
Generates a map of template keys with their value suppliers in order to fill gaps in
the html skeleton template page.
|
handle, htmlColor, setAuthorizationToken
destroy, doStart, doStop, dumpThis, getServer, setServer
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public GuiWebPageHandler(BootstrapConfig config, java.lang.String root, java.lang.String skel)
config
- Configuration parameters.root
- Prefix for all URLs relating to this page.skel
- Fully qualified resource name of the HTML file which should be used.protected java.util.Map<java.lang.String,java.util.function.Supplier<java.lang.String>> getTemplateKeys(org.eclipse.jetty.server.Request base)
getTemplateKeys
in class WebPageHandler
base
- The request