|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
com.xpn.xwiki.web.XWikiAction
public abstract class XWikiAction
A simple action that handles the display and editing of an wiki page..
The action support an action URL. The action in the URL controls what this action class does. The following values are supported:
Field Summary |
---|
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
XWikiAction()
|
Method Summary | |
---|---|
boolean |
action(XWikiContext context)
|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle server requests. |
java.lang.String |
getRealPath(java.lang.String path)
|
protected void |
handleRevision(XWikiContext context)
|
java.lang.String |
render(XWikiContext context)
|
protected void |
sendRedirect(XWikiResponse response,
java.lang.String page)
|
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XWikiAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws java.lang.Exception, javax.servlet.ServletException
execute
in class org.apache.struts.action.Action
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)req
- The HTTP request we are processingresp
- The HTTP response we are creating
java.io.IOException
- if an input/output error occurs
javax.servlet.ServletException
- if a servlet exception occurs
java.lang.Exception
public java.lang.String getRealPath(java.lang.String path)
public boolean action(XWikiContext context) throws XWikiException
XWikiException
public java.lang.String render(XWikiContext context) throws XWikiException
XWikiException
protected void handleRevision(XWikiContext context) throws XWikiException
XWikiException
protected void sendRedirect(XWikiResponse response, java.lang.String page) throws XWikiException
XWikiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |