public interface IStaticContentAssembly
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addBundle(java.lang.String aName)
Adds the specified bundle to the payload content of the static request.
|
void |
addFile(java.lang.String aName)
Adds the specified file to the payload content of the static request.
|
void |
emitContent()
Emits the static content to the stream (if moveToEnd is false) or queues
the content to be sent at the end of the stream.
|
java.lang.String |
getStaticVar()
Returns the generated variable name associated with the run-time
static control block.
|
void |
setApp(java.lang.String aApp)
Sets the web context root for use in the URL to retrieve the static
content.
|
void |
setMoveToEnd(boolean aMoveToEnd)
Set to
true to indicate that the static content should be
moveded to the end of the output stream |
void |
setPath(java.lang.String aPath)
Sets the path to the static content
|
void |
setPrefixURL(java.lang.String aPrefixURL)
Set the path to the server from which the content will be served.
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
void setApp(java.lang.String aApp)
aApp
- name of context root (application)void setPath(java.lang.String aPath)
aPath
- start of path to content (follows context root name)void setMoveToEnd(boolean aMoveToEnd)
true
to indicate that the static content should be
moveded to the end of the output streamaMoveToEnd
- void setPrefixURL(java.lang.String aPrefixURL)
aPrefixURL
- void addBundle(java.lang.String aName)
aName
- Bundle to send to clientvoid addFile(java.lang.String aName)
aName
- File to be sent to clientvoid emitContent()
java.lang.String getStaticVar()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.