Package net.sourceforge.plantuml.servlet
Class UmlDiagramService
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- net.sourceforge.plantuml.servlet.UmlDiagramService
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- Direct Known Subclasses:
AsciiServlet
,Base64Servlet
,EpsServlet
,EpsTextServlet
,ImgServlet
,SvgServlet
public abstract class UmlDiagramService extends jakarta.servlet.http.HttpServlet
Common service servlet to produce diagram from compressed UML source contained in the end part of the requested URI.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UmlDiagramService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
void
doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
abstract net.sourceforge.plantuml.FileFormat
getOutputFormat()
Gives the wished output format of the diagram.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
- Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
jakarta.servlet.ServletException
-
doPost
public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
- Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
-
getOutputFormat
public abstract net.sourceforge.plantuml.FileFormat getOutputFormat()
Gives the wished output format of the diagram. This value is used by the DiagramResponse class.- Returns:
- the format
-
-