org.apache.portals.bridges.struts
Class PortletServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.struts.action.ActionServlet
              extended by org.apache.portals.bridges.struts.PortletServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PortletServlet
extends org.apache.struts.action.ActionServlet

PortletServlet

Version:
$Id: PortletServlet.java 546262 2007-06-11 20:34:49Z ate $
Author:
Ate Douma
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionServlet
chainConfig, config, configDigester, convertNull, internal, internalName, registrations, servletMapping, servletName
 
Constructor Summary
PortletServlet()
           
 
Method Summary
 javax.servlet.ServletContext getServletContext()
           
 void init(javax.servlet.ServletConfig config)
           
protected  void initModulePlugIns(org.apache.struts.config.ModuleConfig config)
           
static boolean isPortletRequest(javax.servlet.ServletRequest request)
           
 boolean performActionRenderRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
           
 
Methods inherited from class org.apache.struts.action.ActionServlet
addServletMapping, destroy, destroyConfigDigester, destroyInternal, destroyModules, doGet, doPost, getInternal, getModuleConfig, getRequestProcessor, init, initChain, initConfigDigester, initInternal, initModuleActions, initModuleConfig, initModuleConfigFactory, initModuleExceptionConfigs, initModuleFormBeans, initModuleForwards, initModuleMessageResources, initModulePrefixes, initOther, initServlet, parseModuleConfigFile, parseModuleConfigFile, process, processActionConfigClass, processActionConfigExtension, processExceptionConfigClass, processExceptionExtension, processFormBeanConfigClass, processFormBeanExtension, processForwardConfigClass, processForwardExtension, splitAndResolvePaths
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletServlet

public PortletServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

getServletContext

public javax.servlet.ServletContext getServletContext()
Specified by:
getServletContext in interface javax.servlet.ServletConfig
Overrides:
getServletContext in class javax.servlet.GenericServlet

initModulePlugIns

protected void initModulePlugIns(org.apache.struts.config.ModuleConfig config)
                          throws javax.servlet.ServletException
Overrides:
initModulePlugIns in class org.apache.struts.action.ActionServlet
Throws:
javax.servlet.ServletException

performActionRenderRequest

public boolean performActionRenderRequest(javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response,
                                          org.apache.struts.action.ActionMapping mapping)
                                   throws java.io.IOException,
                                          javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

isPortletRequest

public static boolean isPortletRequest(javax.servlet.ServletRequest request)


Copyright © 1999-2011 Apache Software Foundation. All Rights Reserved.