org.springframework.extensions.webscripts
Class LocalWebScriptRuntime

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractRuntime
      extended by org.springframework.extensions.webscripts.LocalWebScriptRuntime
All Implemented Interfaces:
Runtime

public class LocalWebScriptRuntime
extends AbstractRuntime

WebScript Runtime for rendering as Web Framework components.

Author:
kevinr, muzquiano

Field Summary
 
Fields inherited from class org.springframework.extensions.webscripts.AbstractRuntime
container, logger
 
Constructor Summary
LocalWebScriptRuntime(Writer out, RuntimeContainer container, ServerProperties serverProps, LocalWebScriptContext context)
           
 
Method Summary
protected  Authenticator createAuthenticator()
           
protected  WebScriptRequest createRequest(Match match)
           
protected  LocalWebScriptResponse createResponse()
           
 LocalWebScriptContext getLocalContext()
           
 String getName()
           
protected  String getScriptMethod()
           
protected  String getScriptUrl()
           
 void setScriptMethod(String method)
           
 
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
 

Constructor Detail

LocalWebScriptRuntime

public LocalWebScriptRuntime(Writer out,
                             RuntimeContainer container,
                             ServerProperties serverProps,
                             LocalWebScriptContext context)
Method Detail

getLocalContext

public LocalWebScriptContext getLocalContext()

getName

public String getName()

getScriptUrl

protected String getScriptUrl()
Specified by:
getScriptUrl in class AbstractRuntime

createRequest

protected WebScriptRequest createRequest(Match match)
Specified by:
createRequest in class AbstractRuntime

createResponse

protected LocalWebScriptResponse createResponse()
Specified by:
createResponse in class AbstractRuntime

getScriptMethod

protected String getScriptMethod()
Specified by:
getScriptMethod in class AbstractRuntime

createAuthenticator

protected Authenticator createAuthenticator()
Specified by:
createAuthenticator in class AbstractRuntime

setScriptMethod

public void setScriptMethod(String method)


Copyright © 2009 SpringSource, Inc. All Rights Reserved.