|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.extensions.webscripts.AbstractRuntime
org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
public class WebScriptServletRuntime
HTTP Servlet Web Script Runtime
| Field Summary | |
|---|---|
protected ServletAuthenticatorFactory |
authFactory
|
protected javax.servlet.http.HttpServletRequest |
req
|
protected javax.servlet.http.HttpServletResponse |
res
|
protected ServerProperties |
serverProperties
|
protected WebScriptServletRequest |
servletReq
|
protected WebScriptServletResponse |
servletRes
|
| Fields inherited from class org.springframework.extensions.webscripts.AbstractRuntime |
|---|
container, logger |
| Constructor Summary | |
|---|---|
WebScriptServletRuntime(RuntimeContainer container,
ServletAuthenticatorFactory authFactory,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
ServerProperties serverProperties)
Construct |
|
| Method Summary | |
|---|---|
protected Authenticator |
createAuthenticator()
Create a Web Script Authenticator |
protected WebScriptRequest |
createRequest(Match match)
Create a Web Script Request |
protected WebScriptResponse |
createResponse()
Create a Web Script Response |
static javax.servlet.http.HttpServletRequest |
getHttpServletRequest(WebScriptRequest request)
Helper to get HttpServletRequest from Web Script Request |
static javax.servlet.http.HttpServletResponse |
getHttpServletResponse(WebScriptResponse response)
Helper to get HttpServletResponse from Web Script Response |
String |
getName()
Gets the name of the Web Script Runtime |
protected String |
getScriptMethod()
Get the Web Script Method e.g. |
protected String |
getScriptUrl()
Get the Web Script Url |
| Methods inherited from class org.springframework.extensions.webscripts.AbstractRuntime |
|---|
executeScript, executeScript, getContainer, getRealWebScriptRequest, getRealWebScriptResponse, getScriptParameters, getStatusCodeTemplate, getStatusTemplate, getTemplateParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ServletAuthenticatorFactory authFactory
protected javax.servlet.http.HttpServletRequest req
protected javax.servlet.http.HttpServletResponse res
protected ServerProperties serverProperties
protected WebScriptServletRequest servletReq
protected WebScriptServletResponse servletRes
| Constructor Detail |
|---|
public WebScriptServletRuntime(RuntimeContainer container,
ServletAuthenticatorFactory authFactory,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
ServerProperties serverProperties)
registry - serviceRegistry - authenticator - req - res - | Method Detail |
|---|
protected String getScriptMethod()
AbstractRuntime
getScriptMethod in class AbstractRuntimeprotected String getScriptUrl()
AbstractRuntime
getScriptUrl in class AbstractRuntimeprotected WebScriptRequest createRequest(Match match)
AbstractRuntime
createRequest in class AbstractRuntimematch - web script matching the script method and url
protected WebScriptResponse createResponse()
AbstractRuntime
createResponse in class AbstractRuntimeprotected Authenticator createAuthenticator()
AbstractRuntime
createAuthenticator in class AbstractRuntimepublic String getName()
Runtime
public static javax.servlet.http.HttpServletRequest getHttpServletRequest(WebScriptRequest request)
request -
public static javax.servlet.http.HttpServletResponse getHttpServletResponse(WebScriptResponse response)
response -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||