public class AddOnloadFunctionProcessor extends Object implements JsProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
ONLOAD_FUNCTION_NAME_ERROR |
static String |
ONLOAD_JS_TPL |
| Constructor and Description |
|---|
AddOnloadFunctionProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createOnloadScript(String function) |
boolean |
process(JsRequest request,
JsResponseBuilder builder)
Populates or modifies the Javascript response.
|
public static final String ONLOAD_FUNCTION_NAME_ERROR
public static final String ONLOAD_JS_TPL
public boolean process(JsRequest request, JsResponseBuilder builder) throws JsException
JsProcessorprocess in interface JsProcessorrequest - The JS request that originated this execution.builder - The response builder to work on.JsExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.