ScriptEngine for automatic lookup in a web environment.
Detected and used by ScriptTemplateView.
| Modifier and Type | Method and Description |
|---|---|
| public Charset | |
| public String | |
| public ScriptEngine | |
| public String | |
| public Supplier | |
| public String | |
| public String | |
| public String | |
| public String[] | |
| public Boolean | isSharedEngine()
Return whether to use a shared engine for all threads or whether to create thread-local engine instances for each thread. |
| getCharset | back to summary |
|---|---|
| public Charset getCharset() Return the charset used to read script and template files.
| |
| getContentType | back to summary |
|---|---|
| public String getContentType() Return the content type to use for the response.
| |
| getEngine | back to summary |
|---|---|
| public ScriptEngine getEngine() Return the
| |
| getEngineName | back to summary |
|---|---|
| public String getEngineName() Return the engine name that will be used to instantiate the
| |
| getEngineSupplier | back to summary |
|---|---|
| public Supplier Return the engine supplier that will be used to instantiate the
| |
| getRenderFunction | back to summary |
|---|---|
| public String getRenderFunction() Return the render function name (optional). If not specified, the script templates
will be evaluated with
| |
| getRenderObject | back to summary |
|---|---|
| public String getRenderObject() Return the object where the render function belongs (optional).
| |
| getResourceLoaderPath | back to summary |
|---|---|
| public String getResourceLoaderPath() Return the resource loader path(s) via a Spring resource location.
| |
| getScripts | back to summary |
|---|---|
| public String[] getScripts() Return the scripts to be loaded by the script engine (library or user provided).
| |
| isSharedEngine | back to summary |
|---|---|
| public Boolean isSharedEngine() Return whether to use a shared engine for all threads or whether to create thread-local engine instances for each thread.
| |