public abstract class JSONAction extends 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 String |
getCSRFOrigin(javax.servlet.http.HttpServletRequest httpServletRequest) |
abstract String |
getJSON(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
protected 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 Exception
public abstract String getJSON(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
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 String getCSRFOrigin(javax.servlet.http.HttpServletRequest httpServletRequest)
protected String getReroutePath()
protected boolean rerouteExecute(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
Exception