java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.semanticcms.core.servlet.PageServlet
- All Implemented Interfaces:
Servlet,ServletConfig,Serializable
Automatically sets up the Page and the PageContext.
- See Also:
-
Field Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPage and the PageContext are already setup.protected final voiddoDelete(HttpServletRequest req, HttpServletResponse resp) protected voidPage and the PageContext are already setup.protected final voiddoGet(HttpServletRequest req, HttpServletResponse resp) protected voidPage and the PageContext are already setup.protected final voiddoOptions(HttpServletRequest req, HttpServletResponse resp) protected voidPage and the PageContext are already setup.protected final voiddoPost(HttpServletRequest req, HttpServletResponse resp) protected voidPage and the PageContext are already setup.protected final voiddoPut(HttpServletRequest req, HttpServletResponse resp) abstract StringgetTitle()getToc()Defaults to null for "auto".intMethods inherited from class jakarta.servlet.http.HttpServlet
doHead, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, 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:
doGetin classHttpServlet- Throws:
ServletExceptionIOException
-
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:
doPostin classHttpServlet- Throws:
ServletExceptionIOException
-
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:
doPutin classHttpServlet- Throws:
ServletExceptionIOException
-
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:
doDeletein classHttpServlet- Throws:
ServletExceptionIOException
-
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:
doOptionsin classHttpServlet- Throws:
ServletExceptionIOException
-
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.
-
