Class ClientHtmlLoader
- java.lang.Object
-
- com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
-
- com.inductiveautomation.perspective.gateway.comm.ClientHtmlLoader
-
public class ClientHtmlLoader extends AbstractLifecycle
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BODY_BOTTOM
static java.lang.String
BODY_TOP
static java.lang.String
CLIENT_FILENAME
static java.lang.String
HEAD_BOTTOM
static java.lang.String
HEAD_TOP
static java.lang.String
INJECTABLE_JS_FOLDER
static java.util.Map<java.lang.String,java.lang.String>
INJECTABLES
static java.util.regex.Pattern
UNSUPPORTED_BROWSER
static java.lang.String
UNSUPPORTED_FILENAME
-
Constructor Summary
Constructors Constructor Description ClientHtmlLoader(PerspectiveContext perspectiveContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
clientHtml()
protected void
onShutdown()
protected void
onStartup()
java.lang.String
unsupportedHtml()
-
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startup
-
-
-
-
Field Detail
-
CLIENT_FILENAME
public static final java.lang.String CLIENT_FILENAME
- See Also:
- Constant Field Values
-
UNSUPPORTED_FILENAME
public static final java.lang.String UNSUPPORTED_FILENAME
- See Also:
- Constant Field Values
-
INJECTABLE_JS_FOLDER
public static final java.lang.String INJECTABLE_JS_FOLDER
- See Also:
- Constant Field Values
-
HEAD_TOP
public static final java.lang.String HEAD_TOP
- See Also:
- Constant Field Values
-
HEAD_BOTTOM
public static final java.lang.String HEAD_BOTTOM
- See Also:
- Constant Field Values
-
BODY_TOP
public static final java.lang.String BODY_TOP
- See Also:
- Constant Field Values
-
BODY_BOTTOM
public static final java.lang.String BODY_BOTTOM
- See Also:
- Constant Field Values
-
INJECTABLES
public static final java.util.Map<java.lang.String,java.lang.String> INJECTABLES
-
UNSUPPORTED_BROWSER
public static final java.util.regex.Pattern UNSUPPORTED_BROWSER
-
-
Constructor Detail
-
ClientHtmlLoader
public ClientHtmlLoader(@Nonnull PerspectiveContext perspectiveContext)
-
-
Method Detail
-
clientHtml
public java.lang.String clientHtml()
-
unsupportedHtml
public java.lang.String unsupportedHtml()
-
onStartup
protected void onStartup()
- Specified by:
onStartup
in classAbstractLifecycle
-
onShutdown
protected void onShutdown()
- Specified by:
onShutdown
in classAbstractLifecycle
-
-