Package org.alfresco.repo.imap.scripts
Class ServerStatusWebScript
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.alfresco.repo.imap.scripts.ServerStatusWebScript
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.extensions.webscripts.WebScript
public class ServerStatusWebScript extends org.springframework.extensions.webscripts.AbstractWebScript implements org.springframework.context.ApplicationContextAware
Shows the availability of the IMAP server via web script request.
-
-
Constructor Summary
Constructors Constructor Description ServerStatusWebScript()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
execute
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws java.io.IOException
- Specified by:
execute
in interfaceorg.springframework.extensions.webscripts.WebScript
- Throws:
java.io.IOException
-
-