Package com.xpn.xwiki.web
Class UnknownAction
- java.lang.Object
-
- com.xpn.xwiki.web.XWikiAction
-
- com.xpn.xwiki.web.UnknownAction
-
- All Implemented Interfaces:
com.xpn.xwiki.internal.web.LegacyAction
@Component @Singleton public class UnknownAction extends XWikiAction
Action used when the url given to struts is not recognised as a valid action. Forwards to the action specified in xwiki.cfg parameter: xwiki.unknownActionResponse or exception if xwiki.unknownActionResponse is not defined.- Version:
- $Id: 23b4b67e92daf6e42336cc2d619dcaf5cf494d9a $
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.web.XWikiAction
ACTION_PROGRESS, componentDescriptor, container, execution, observation, waitForXWikiInitialization
-
-
Constructor Summary
Constructors Constructor Description UnknownAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getName()
String
render(XWikiContext context)
-
Methods inherited from class com.xpn.xwiki.web.XWikiAction
action, answerJSON, cleanupComponents, csrfTokenCheck, csrfTokenCheck, execute, execute, getContextualAuthorizationManager, getCurrentMixedDocumentReferenceResolver, getCurrentScriptContext, getEntityNameValidationConfiguration, getEntityNameValidationManager, getFormClass, getLocalization, getLocalSerializer, getProgress, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, initializeXWikiContext, isEntityReferenceNameValid, localizePlainOrKey, readFromTemplate, resolveTemplate, sendGlobalRedirect, sendRedirect, setContentLength, supportRedirections, writeAjaxErrorResponse
-
-
-
-
Method Detail
-
getName
protected String getName()
- Overrides:
getName
in classXWikiAction
- Returns:
- the name to put in the
XWikiContext
, by default the component role hint is used
-
render
public String render(XWikiContext context) throws XWikiException
- Overrides:
render
in classXWikiAction
- Throws:
XWikiException
-
-