| javax.servlet.http.HttpServlet com.sun.portal.portletappengine.PortletAppEngineServlet
PortletAppEngineServlet | public class PortletAppEngineServlet extends HttpServlet (Code) | | The portlet app engine servlet is the entry point of the portlet
application engine.
The portlet app engine receives requests from
the portlet container through the Request Dispatcher, and then
deligates the work to the following components:
- Lifecycycle manager: which allow create and retrieve
portlet instances
- Request/response factory: generates portlet
request/response objects
- Security manager: check for portlet access rights
Once retrieves the target portlet, the portlet app engine servlet will
executes the actions and sets the result in the response and return
back to portlet container.
|
JAVAX_PORTLET_ENTITY_ID | final public static String JAVAX_PORTLET_ENTITY_ID(Code) | | |
JAVAX_PORTLET_LOCALE | final public static String JAVAX_PORTLET_LOCALE(Code) | | |
JAVAX_PORTLET_TITLE | final public static String JAVAX_PORTLET_TITLE(Code) | | |
destroy | public void destroy()(Code) | | |
service | public void service(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException(Code) | | This mehtod is the meat of the servlet, which basically handles
the request for executing a portlet.
This method will do the following tasks:
- Obtains portlet request/response objects from
request/response factory
- Checks for security violation, if any
- Obtains the target portlet object from the lifecycle
manager
- Obtains the action list that is passed from the request
- Calls cooresponding portlet methods
- Sets cooresponding results in the response
- Handles exceptions
Parameters: req - The HttpServletRequest Parameters: res - The HttpServletResponse |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|