Package org.apache.wiki.plugin
Class SampleAjaxPlugin
- java.lang.Object
-
- org.apache.wiki.plugin.SampleAjaxPlugin
-
- All Implemented Interfaces:
WikiAjaxServlet,Plugin
public class SampleAjaxPlugin extends java.lang.Object implements Plugin, WikiAjaxServlet
- Since:
- 2.10.2-svn10 updated according to https://issues.apache.org/jira/browse/JSPWIKI-1195
-
-
Field Summary
-
Fields inherited from interface org.apache.wiki.api.plugin.Plugin
CORE_PLUGINS_RESOURCEBUNDLE
-
-
Constructor Summary
Constructors Constructor Description SampleAjaxPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringexecute(Context context, java.util.Map<java.lang.String,java.lang.String> params)java.lang.StringgetServletMapping()voidservice(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String actionName, java.util.List<java.lang.String> params)
-
-
-
Constructor Detail
-
SampleAjaxPlugin
public SampleAjaxPlugin()
-
-
Method Detail
-
execute
public java.lang.String execute(Context context, java.util.Map<java.lang.String,java.lang.String> params) throws PluginException
- Specified by:
executein interfacePlugin- Throws:
PluginException
-
getServletMapping
public java.lang.String getServletMapping()
- Specified by:
getServletMappingin interfaceWikiAjaxServlet
-
service
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String actionName, java.util.List<java.lang.String> params) throws javax.servlet.ServletException, java.io.IOException
- Specified by:
servicein interfaceWikiAjaxServlet- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
-