public class LocalWebScriptRuntime
extends org.springframework.extensions.webscripts.AbstractRuntime
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_METHOD_GET |
| Constructor and Description |
|---|
LocalWebScriptRuntime(Writer out,
org.springframework.extensions.webscripts.RuntimeContainer container,
org.springframework.extensions.config.ServerProperties serverProps,
LocalWebScriptContext context)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
beforeProcessError(org.springframework.extensions.webscripts.Match match,
Throwable e) |
protected org.springframework.extensions.webscripts.Authenticator |
createAuthenticator() |
protected org.springframework.extensions.webscripts.WebScriptRequest |
createRequest(org.springframework.extensions.webscripts.Match match) |
protected LocalWebScriptResponse |
createResponse() |
org.springframework.extensions.webscripts.WebScriptSessionFactory |
createSessionFactory() |
LocalWebScriptContext |
getLocalContext() |
String |
getName() |
protected String |
getScriptMethod() |
protected String |
getScriptUrl() |
void |
setScriptMethod(String method) |
executeScript, executeScript, getContainer, getFormatStatusTemplate, getRealWebScriptRequest, getRealWebScriptResponse, getScriptParameters, getSession, getStatusCodeTemplate, getStatusTemplate, getTemplateParameters, setURLModelFactorypublic static final String DEFAULT_METHOD_GET
public LocalWebScriptRuntime(Writer out, org.springframework.extensions.webscripts.RuntimeContainer container, org.springframework.extensions.config.ServerProperties serverProps, LocalWebScriptContext context)
out - Writercontainer - RuntimeContainerserverProps - ServerPropertiescontext - LocalWebScriptContextpublic LocalWebScriptContext getLocalContext()
public String getName()
protected String getScriptUrl()
getScriptUrl in class org.springframework.extensions.webscripts.AbstractRuntimeprotected org.springframework.extensions.webscripts.WebScriptRequest createRequest(org.springframework.extensions.webscripts.Match match)
createRequest in class org.springframework.extensions.webscripts.AbstractRuntimeprotected LocalWebScriptResponse createResponse()
createResponse in class org.springframework.extensions.webscripts.AbstractRuntimeprotected String getScriptMethod()
getScriptMethod in class org.springframework.extensions.webscripts.AbstractRuntimeprotected org.springframework.extensions.webscripts.Authenticator createAuthenticator()
createAuthenticator in class org.springframework.extensions.webscripts.AbstractRuntimepublic org.springframework.extensions.webscripts.WebScriptSessionFactory createSessionFactory()
createSessionFactory in class org.springframework.extensions.webscripts.AbstractRuntimepublic void setScriptMethod(String method)
protected boolean beforeProcessError(org.springframework.extensions.webscripts.Match match,
Throwable e)
beforeProcessError in class org.springframework.extensions.webscripts.AbstractRuntimeOverride this hook to add special handling for "missing" WebScript components.
The page renderer can safely ignore components that no longer map to a URL. It
is recommended that that the debug flag is used to view missing webscript URLs.Copyright © 2005–2016 Alfresco Software. All rights reserved.