public class ChuiWebPageHandler extends WebPageHandler
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ChuiWebPageHandler.ChuiWebPageKeysProvider
Builds the target map of keys and their value providers for the associated template
given by the skeleton page.
|
WebPageHandler.WebPageKeysProviderHtmlResourceHandler.HtmlTemplateKeysProviderorg.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandlerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerorg.eclipse.jetty.util.component.LifeCycle.Listenerconfig, isSso| Constructor and Description |
|---|
ChuiWebPageHandler(BootstrapConfig config,
java.lang.String root,
java.lang.String skel,
java.util.function.Supplier<java.util.Map.Entry<java.lang.String,java.lang.String>> trSupplier)
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.
|
htmlColorhandledestroy, doError, doStart, doStop, getServer, setServeraddBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stoppublic ChuiWebPageHandler(BootstrapConfig config, java.lang.String root, java.lang.String skel, java.util.function.Supplier<java.util.Map.Entry<java.lang.String,java.lang.String>> trSupplier)
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.trSupplier - The translation resources supplierprotected java.util.Map<java.lang.String,java.util.function.Supplier<java.lang.String>> getTemplateKeys(org.eclipse.jetty.server.Request base)
getTemplateKeys in class WebPageHandlerbase - The request