java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.semanticcms.core.servlet.PageServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Automatically sets up the Page and the PageContext.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Page and the PageContext are already setup.protected final void
doDelete
(HttpServletRequest req, HttpServletResponse resp) protected void
Page and the PageContext are already setup.protected final void
doGet
(HttpServletRequest req, HttpServletResponse resp) protected void
Page and the PageContext are already setup.protected final void
doOptions
(HttpServletRequest req, HttpServletResponse resp) protected void
Page and the PageContext are already setup.protected final void
doPost
(HttpServletRequest req, HttpServletResponse resp) protected void
Page and the PageContext are already setup.protected final void
doPut
(HttpServletRequest req, HttpServletResponse resp) abstract String
getTitle()
getToc()
Defaults to null for "auto".int
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
ENCODING
-
-
Constructor Details
-
PageServlet
public PageServlet()
-
-
Method Details
-
getTitle
- See Also:
-
getShortTitle
- See Also:
-
getDescription
- See Also:
-
getKeywords
- See Also:
-
getToc
Defaults to null for "auto".- See Also:
-
getTocLevels
public int getTocLevels()- See Also:
-
doGet
protected final void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-
doGet
Page and the PageContext are already setup. The response content type has been set to application/xhtml+xml. The response character encoding has been set toENCODING
. -
doPost
protected final void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doPost
in classHttpServlet
- Throws:
ServletException
IOException
-
doPost
Page and the PageContext are already setup. The response content type has been set to application/xhtml+xml. The response character encoding has been set toENCODING
. -
doPut
protected final void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doPut
in classHttpServlet
- Throws:
ServletException
IOException
-
doPut
Page and the PageContext are already setup. The response content type has been set to application/xhtml+xml. The response character encoding has been set toENCODING
. -
doDelete
protected final void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doDelete
in classHttpServlet
- Throws:
ServletException
IOException
-
doDelete
Page and the PageContext are already setup. The response content type has been set to application/xhtml+xml. The response character encoding has been set toENCODING
. -
doOptions
protected final void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doOptions
in classHttpServlet
- Throws:
ServletException
IOException
-
doOptions
Page and the PageContext are already setup. The response content type has been set to application/xhtml+xml. The response character encoding has been set toENCODING
.
-