public class ChuiWebPageHandler extends WebPageHandler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Modifier and Type | Field and Description |
---|---|
private BootstrapConfig |
config
Configuration.
|
Constructor and Description |
---|
ChuiWebPageHandler(BootstrapConfig config,
java.lang.String root,
java.lang.String skel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
handleReplacements(org.eclipse.jetty.server.Request base,
java.lang.String text)
Process the given string and make any replacements of parameter
values as needed.
|
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
private BootstrapConfig config
public ChuiWebPageHandler(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.lang.String handleReplacements(org.eclipse.jetty.server.Request base, java.lang.String text)
Example: ${expression}
handleReplacements
in class WebPageHandler
base
- The details and state the request.text
- The text line that may need modifications.