|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.context.support.ApplicationObjectSupport org.springframework.web.context.support.WebApplicationObjectSupport org.springframework.web.servlet.support.WebContentGenerator org.springframework.web.servlet.mvc.AbstractController org.springframework.extensions.surf.mvc.AbstractWebFrameworkController org.springframework.extensions.surf.mvc.PreviewController
public class PreviewController
Controller for managing requests for preview. This allows the previewed sandbox and webapp to be specified via a URL for the current session. It then performs a redirect to the Surf application. Incoming URLs can be of the form: /preview/{sandboxId} /preview/{sandboxId}/{webappId} /preview?alfStoreId={sandboxId} /preview?alfStoreId={sandboxId}&alfWebappId={webappId} /preview?s={sandboxId} /preview?s={sandboxId}&w={webappId}
Field Summary |
---|
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
---|
METHOD_GET, METHOD_HEAD, METHOD_POST |
Constructor Summary | |
---|---|
PreviewController()
|
Method Summary | |
---|---|
org.springframework.web.servlet.ModelAndView |
createModelAndView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Internal method to be implemented by inheriting class to create model and view for the controller. |
org.apache.commons.logging.Log |
getLogger()
Returns a logger for the controller |
Methods inherited from class org.springframework.extensions.surf.mvc.AbstractWebFrameworkController |
---|
getRenderService, getServiceRegistry, getWebFrameworkConfiguration, getWebFrameworkManager, handleRequestInternal, setServiceRegistry |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
---|
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
---|
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
---|
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.web.context.ServletContextAware |
---|
setServletContext |
Constructor Detail |
---|
public PreviewController()
Method Detail |
---|
public org.apache.commons.logging.Log getLogger()
AbstractWebFrameworkController
getLogger
in class AbstractWebFrameworkController
public org.springframework.web.servlet.ModelAndView createModelAndView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
AbstractWebFrameworkController
createModelAndView
in class AbstractWebFrameworkController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |