com.xpn.xwiki.web
Class GetAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.xpn.xwiki.web.XWikiAction
          extended by com.xpn.xwiki.web.GetAction

public class GetAction
extends XWikiAction

Action used to get a resource that is a part of a page loaded asynchronously generally for performance reasons. Like download or skin but for wiki content.

This means that by default there is not UI and it's not registered in the statistics since the main page is already logged.

Version:
$Id: 58dee51804e8dc63942b3af2807da04d625e8c5d $

Field Summary
static String GET_ACTION
          The identifier of the view action.
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
GetAction()
           
 
Method Summary
 boolean action(XWikiContext context)
           
 String render(XWikiContext context)
           
 
Methods inherited from class com.xpn.xwiki.web.XWikiAction
cleanupComponents, csrfTokenCheck, execute, execute, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, sendGlobalRedirect, sendRedirect
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, 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
 

Field Detail

GET_ACTION

public static final String GET_ACTION
The identifier of the view action.

See Also:
Constant Field Values
Constructor Detail

GetAction

public GetAction()
Method Detail

action

public boolean action(XWikiContext context)
               throws XWikiException
Overrides:
action in class XWikiAction
Throws:
XWikiException

render

public String render(XWikiContext context)
              throws XWikiException
Overrides:
render in class XWikiAction
Throws:
XWikiException


Copyright © 2004–2014 XWiki. All rights reserved.