java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.aoapps.web.resources.servlet.PageServlet
- All Implemented Interfaces:
Serializable,Servlet,ServletConfig
A servlet that creates a
page-scope web resource registry,
if not already present.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidservice(ServletRequest request, ServletResponse response) Creates the page-scope registry, if not already present, then invokesHttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse).Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
PageServlet
public PageServlet()
-
-
Method Details
-
service
public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException Creates the page-scope registry, if not already present, then invokesHttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse). Any registry added by this method is removed before returning.- Specified by:
servicein interfaceServlet- Overrides:
servicein classHttpServlet- Throws:
ServletExceptionIOException
-
