public abstract class JSONAction
extends org.apache.struts.action.Action
| Constructor and Description |
|---|
JSONAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAuthToken(javax.servlet.http.HttpServletRequest request) |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected java.lang.String |
getCSRFOrigin(javax.servlet.http.HttpServletRequest request) |
abstract java.lang.String |
getJSON(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected java.lang.String |
getReroutePath() |
protected boolean |
rerouteExecute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
execute in class org.apache.struts.action.Actionjava.lang.Exceptionpublic abstract java.lang.String getJSON(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic void setServletContext(javax.servlet.ServletContext servletContext)
protected void checkAuthToken(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected java.lang.String getCSRFOrigin(javax.servlet.http.HttpServletRequest request)
protected java.lang.String getReroutePath()
protected boolean rerouteExecute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exception