public class TestKeysApplicationHandler extends HtmlResourceHandler implements TestKeyboardTemplate
Modifier and Type | Class and Description |
---|---|
(package private) class |
TestKeysApplicationHandler.ApplicationKeysProvider
Builds the target map of keys and their value providers for the associated template
open-resource.html.
|
HtmlResourceHandler.HtmlTemplateKeysProvider
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Modifier and Type | Field and Description |
---|---|
private BootstrapConfig |
config
Configuration.
|
private SupplierWithMemo<KeyboardLayoutsSettings> |
keyboardSupplier |
private static java.lang.String |
REQUEST
The target request
|
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
KEYBOARD_LAYOUT_ID, KEYBOARD_LAYOUTS, TEMPLATE
Constructor and Description |
---|
TestKeysApplicationHandler(BootstrapConfig config,
java.lang.String skeletonPage,
SupplierWithMemo<KeyboardLayoutsSettings> keyboardSupplier)
Creates this resource handler.
|
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
destroy, doError, doStart, doStop, getServer, setServer
addBean, 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, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private static final java.lang.String REQUEST
private BootstrapConfig config
private SupplierWithMemo<KeyboardLayoutsSettings> keyboardSupplier
public TestKeysApplicationHandler(BootstrapConfig config, java.lang.String skeletonPage, SupplierWithMemo<KeyboardLayoutsSettings> keyboardSupplier)
config
- The bootstrap configurationskeletonPage
- 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 HtmlResourceHandler
base
- The request