public abstract class JSONAction extends java.lang.Object implements Action
Constructor and Description |
---|
JSONAction() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAuthToken(javax.servlet.http.HttpServletRequest httpServletRequest) |
ActionForward |
execute(ActionMapping actionMapping,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
protected java.lang.String |
getCSRFOrigin(javax.servlet.http.HttpServletRequest httpServletRequest) |
abstract java.lang.String |
getJSON(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
protected java.lang.String |
getReroutePath() |
protected boolean |
rerouteExecute(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public ActionForward execute(ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws java.lang.Exception
public abstract java.lang.String getJSON(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws java.lang.Exception
java.lang.Exception
public void setServletContext(javax.servlet.ServletContext servletContext)
protected void checkAuthToken(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected java.lang.String getCSRFOrigin(javax.servlet.http.HttpServletRequest httpServletRequest)
protected java.lang.String getReroutePath()
protected boolean rerouteExecute(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws java.lang.Exception
java.lang.Exception