| Modifier and Type | Interface and Description |
|---|---|
interface |
WrappingWebScriptRequest
Wrapping Web Script Request
|
| Modifier and Type | Class and Description |
|---|---|
class |
WebScriptRequestImpl
Basic Implementation of a Web Script Request
|
class |
WebScriptRequestURLImpl
Web Script Request implementation that acts upon a string representation
of a URL
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract WebScriptRequest |
AbstractRuntime.createRequest(Match match)
Create a Web Script Request
|
WebScriptRequest |
WrappingWebScriptRequest.getNext()
Get Web Script request wrapped by this request
|
protected static WebScriptRequest |
AbstractRuntime.getRealWebScriptRequest(WebScriptRequest request)
Helper to retrieve real (last) Web Script Request in a stack of wrapped Web Script requests
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
AbstractWebScript.createArgs(WebScriptRequest req)
Create a map of arguments from Web Script Request (for scripting)
|
protected Map<String,String[]> |
AbstractWebScript.createArgsM(WebScriptRequest req)
Create a map of (array) arguments from Web Script Request (for scripting)
|
protected Map<String,String> |
AbstractWebScript.createHeaders(WebScriptRequest req)
Create a map of headers from Web Script Request (for scripting)
|
protected Map<String,String[]> |
AbstractWebScript.createHeadersM(WebScriptRequest req)
Create a map of (array) headers from Web Script Request (for scripting)
|
Map<String,Object> |
RequestReader.createScriptParameters(WebScriptRequest req,
WebScriptResponse res) |
Map<String,Object> |
FormatReader.createScriptParameters(WebScriptRequest req,
WebScriptResponse res)
Create script parameters specific to source mimetype
|
protected Map<String,Object> |
AbstractWebScript.createScriptParameters(WebScriptRequest req,
WebScriptResponse res,
AbstractWebScript.ScriptDetails script,
Map<String,Object> customParams)
Create a model for script usage
|
protected WebScriptException |
AbstractWebScript.createStatusException(Throwable e,
WebScriptRequest req,
WebScriptResponse res)
Create an exception whose associated message is driven from a status template and model
|
protected Map<String,Object> |
AbstractWebScript.createTemplateParameters(WebScriptRequest req,
WebScriptResponse res,
Map<String,Object> customParams)
Create a model for template usage
|
URLModel |
DefaultURLModelFactory.createURLModel(WebScriptRequest request) |
URLModel |
URLModelFactory.createURLModel(WebScriptRequest request) |
void |
WebScript.execute(WebScriptRequest req,
WebScriptResponse res)
Execute the Service
|
void |
DeclarativeWebScript.execute(WebScriptRequest req,
WebScriptResponse res) |
protected void |
DeclarativeWebScript.executeFinallyImpl(WebScriptRequest req,
Status status,
Cache cache,
Map<String,Object> model)
Execute custom Java logic to clean up any resources
|
protected Map<String,Object> |
DeclarativeWebScript.executeImpl(WebScriptRequest req,
Status status)
Deprecated.
|
protected Map<String,Object> |
DeclarativeWebScript.executeImpl(WebScriptRequest req,
Status status,
Cache cache)
Execute custom Java logic
|
protected Map<String,Object> |
DeclarativeWebScript.executeImpl(WebScriptRequest req,
WebScriptStatus status)
Deprecated.
|
protected void |
AbstractRuntime.executeScript(WebScriptRequest scriptReq,
WebScriptResponse scriptRes,
Authenticator auth)
Execute script given the specified context
|
void |
RuntimeContainer.executeScript(WebScriptRequest scriptReq,
WebScriptResponse scriptRes,
Authenticator auth)
Execute the script in the context of the provided request and response
|
void |
PresentationContainer.executeScript(WebScriptRequest scriptReq,
WebScriptResponse scriptRes,
Authenticator auth) |
protected static WebScriptRequest |
AbstractRuntime.getRealWebScriptRequest(WebScriptRequest request)
Helper to retrieve real (last) Web Script Request in a stack of wrapped Web Script requests
|
Map<String,Object> |
DeclarativeWebScript.getTemplateModel(WebScriptRequest req,
WebScriptResponse res)
Get map of template parameters that are available with given request.
|
org.springframework.extensions.surf.util.Content |
RequestReader.read(WebScriptRequest req) |
Type |
FormatReader.read(WebScriptRequest req)
Converts mimetype to Java Object
|
protected void |
AbstractRuntime.renderErrorResponse(Match match,
Throwable exception,
WebScriptRequest request,
WebScriptResponse response)
Renders an error message to the response based on the Throwable exception passed in.
|
protected void |
AbstractWebScript.sendStatus(WebScriptRequest req,
WebScriptResponse res,
Status status,
Cache cache,
String format,
Map<String,Object> model)
Render an explicit response status template
|
| Constructor and Description |
|---|
DefaultURLModel(WebScriptRequest req)
Construct
|
ResourceUrlMethod(WebScriptRequest req,
WebScriptResponse res)
Construct
|
ScriptUrlMethod(WebScriptRequest req,
WebScriptResponse res)
Construct
|
| Modifier and Type | Class and Description |
|---|---|
class |
WebScriptJSFRequest
Implementation of a WebScript Request for the JSF environment.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
JSONReader.createScriptParameters(WebScriptRequest req,
WebScriptResponse res) |
Object |
JSONReader.read(WebScriptRequest req) |
| Modifier and Type | Class and Description |
|---|---|
class |
WebScriptPortletRequest
JSR-168 Web Script Request
|
| Modifier and Type | Class and Description |
|---|---|
class |
WebScriptServletRequest
HTTP Servlet Web Script Request
|
| Modifier and Type | Method and Description |
|---|---|
protected WebScriptRequest |
WebScriptServletRuntime.createRequest(Match match) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
FormDataReader.createScriptParameters(WebScriptRequest req,
WebScriptResponse res) |
static javax.servlet.http.HttpServletRequest |
WebScriptServletRuntime.getHttpServletRequest(WebScriptRequest request)
Helper to get HttpServletRequest from Web Script Request
|
FormData |
FormDataReader.read(WebScriptRequest req) |
Copyright © 2005–2021 Alfresco Software. All rights reserved.