Package net.sourceforge.plantuml.servlet
Class CheckSyntaxServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
net.sourceforge.plantuml.servlet.CheckSyntaxServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class CheckSyntaxServlet
extends jakarta.servlet.http.HttpServlet
Check servlet of the webapp.
This servlet checks the syntax of the diagram and send a report in TEXT format.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) net.sourceforge.plantuml.FileFormatGives the wished output format of the diagram.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
CheckSyntaxServlet
public CheckSyntaxServlet()
-
-
Method Details
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException - Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Throws:
IOExceptionjakarta.servlet.ServletException
-
getOutputFormat
public net.sourceforge.plantuml.FileFormat getOutputFormat()Gives the wished output format of the diagram. This value is used by the DiagramResponse class.- Returns:
- the format for check responses
-