public class MainServlet
extends org.apache.struts.action.ActionServlet
Constructor and Description |
---|
MainServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
callParentDestroy() |
protected void |
callParentInit() |
protected void |
callParentService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
checkPortletRequestProcessor(javax.servlet.http.HttpServletRequest request) |
protected void |
checkServletContext(javax.servlet.http.HttpServletRequest request) |
protected void |
checkTilesDefinitionsFactory() |
protected void |
checkWebSettings(String xml) |
void |
destroy() |
protected void |
destroyCompanies() |
protected void |
destroyCompany(long companyId) |
protected void |
destroyPortlets(List<com.liferay.portal.kernel.model.Portlet> portlets) |
protected javax.servlet.http.HttpServletRequest |
encryptRequest(javax.servlet.http.HttpServletRequest request,
long companyId) |
protected long |
getCompanyId(javax.servlet.http.HttpServletRequest request) |
protected String |
getRemoteUser(javax.servlet.http.HttpServletRequest request,
long userId) |
protected org.apache.struts.action.RequestProcessor |
getRequestProcessor(org.apache.struts.config.ModuleConfig moduleConfig) |
protected long |
getUserId(javax.servlet.http.HttpServletRequest request) |
protected boolean |
hasAbsoluteRedirect(javax.servlet.http.HttpServletRequest request) |
protected boolean |
hasThemeDisplay(javax.servlet.http.HttpServletRequest request) |
void |
init() |
protected void |
initCompanies() |
protected void |
initExt() |
protected void |
initLayoutTemplates(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
protected com.liferay.portal.kernel.plugin.PluginPackage |
initPluginPackage() |
protected void |
initPlugins() |
protected void |
initPortletApp(com.liferay.portal.kernel.model.Portlet portlet,
javax.servlet.ServletContext servletContext) |
protected List<com.liferay.portal.kernel.model.Portlet> |
initPortlets(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
protected void |
initResourceActions(List<com.liferay.portal.kernel.model.Portlet> portlets) |
protected void |
initServerDetector()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
protected void |
initSocial(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
protected void |
initThemes(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage,
List<com.liferay.portal.kernel.model.Portlet> portlets) |
protected void |
initWebSettings() |
protected long |
loginUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long companyId,
long userId,
String remoteUser) |
protected boolean |
processCompanyInactiveRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long companyId) |
protected void |
processGlobalShutdownEvents() |
protected void |
processGlobalStartupEvents() |
protected boolean |
processGroupInactiveRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
processInactiveRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String messageKey) |
protected boolean |
processMaintenanceRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
processServicePost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
processServicePre(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long userId) |
protected void |
processServicePrePrincipalException(Throwable t,
long userId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
processShutdownRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
processStartupEvents() |
protected void |
registerPortalInitialized() |
protected void |
sendError(int status,
Throwable t,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
setPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest request) |
addServletMapping, destroyConfigDigester, destroyInternal, destroyModules, doGet, doPost, getInternal, getModuleConfig, initChain, initConfigDigester, initInternal, initModuleActions, initModuleConfig, initModuleConfigFactory, initModuleExceptionConfigs, initModuleFormBeans, initModuleForwards, initModuleMessageResources, initModulePlugIns, initModulePrefixes, initOther, initServlet, parseModuleConfigFile, parseModuleConfigFile, process, processActionConfigClass, processActionConfigExtension, processExceptionConfigClass, processExceptionExtension, processFormBeanConfigClass, processFormBeanExtension, processForwardConfigClass, processForwardExtension, splitAndResolvePaths
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class org.apache.struts.action.ActionServlet
public void init() throws javax.servlet.ServletException
init
in class org.apache.struts.action.ActionServlet
javax.servlet.ServletException
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
service
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
protected void callParentDestroy()
protected void callParentInit() throws javax.servlet.ServletException
javax.servlet.ServletException
protected void callParentService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected void checkPortletRequestProcessor(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
javax.servlet.ServletException
protected void checkServletContext(javax.servlet.http.HttpServletRequest request)
protected void checkTilesDefinitionsFactory()
protected void checkWebSettings(String xml) throws com.liferay.portal.kernel.xml.DocumentException
com.liferay.portal.kernel.xml.DocumentException
protected void destroyCompanies() throws Exception
Exception
protected void destroyCompany(long companyId)
protected void destroyPortlets(List<com.liferay.portal.kernel.model.Portlet> portlets) throws Exception
Exception
protected javax.servlet.http.HttpServletRequest encryptRequest(javax.servlet.http.HttpServletRequest request, long companyId)
protected long getCompanyId(javax.servlet.http.HttpServletRequest request)
protected String getRemoteUser(javax.servlet.http.HttpServletRequest request, long userId)
protected org.apache.struts.action.RequestProcessor getRequestProcessor(org.apache.struts.config.ModuleConfig moduleConfig) throws javax.servlet.ServletException
getRequestProcessor
in class org.apache.struts.action.ActionServlet
javax.servlet.ServletException
protected long getUserId(javax.servlet.http.HttpServletRequest request)
protected boolean hasAbsoluteRedirect(javax.servlet.http.HttpServletRequest request)
protected boolean hasThemeDisplay(javax.servlet.http.HttpServletRequest request)
protected void initCompanies() throws Exception
Exception
protected void initExt() throws Exception
Exception
protected void initLayoutTemplates(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
protected com.liferay.portal.kernel.plugin.PluginPackage initPluginPackage() throws Exception
Exception
protected void initPlugins() throws Exception
Exception
protected void initPortletApp(com.liferay.portal.kernel.model.Portlet portlet, javax.servlet.ServletContext servletContext) throws PortletException
PortletException
protected List<com.liferay.portal.kernel.model.Portlet> initPortlets(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception
Exception
protected void initResourceActions(List<com.liferay.portal.kernel.model.Portlet> portlets) throws Exception
Exception
@Deprecated protected void initServerDetector() throws Exception
Exception
protected void initSocial(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception
Exception
protected void initThemes(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage, List<com.liferay.portal.kernel.model.Portlet> portlets) throws Exception
Exception
protected void initWebSettings() throws Exception
Exception
protected long loginUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long companyId, long userId, String remoteUser) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected boolean processCompanyInactiveRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long companyId) throws IOException
IOException
protected void processGlobalShutdownEvents() throws Exception
Exception
protected void processGlobalStartupEvents() throws Exception
Exception
protected boolean processGroupInactiveRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, com.liferay.portal.kernel.exception.PortalException
IOException
com.liferay.portal.kernel.exception.PortalException
protected void processInactiveRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String messageKey) throws IOException
IOException
protected boolean processMaintenanceRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected void processServicePost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected boolean processServicePre(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long userId) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected void processServicePrePrincipalException(Throwable t, long userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected boolean processShutdownRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
protected void processStartupEvents() throws Exception
Exception
protected void registerPortalInitialized()
protected void sendError(int status, Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected void setPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest request)