Package net.sourceforge.plantuml.servlet
Class SvgServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- net.sourceforge.plantuml.servlet.UmlDiagramService
-
- net.sourceforge.plantuml.servlet.SvgServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
public class SvgServlet extends UmlDiagramService
SVG servlet of the webapp. This servlet produces the UML diagram in SVG format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SvgServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.sourceforge.plantuml.FileFormat
getOutputFormat()
Gives the wished output format of the diagram.-
Methods inherited from class net.sourceforge.plantuml.servlet.UmlDiagramService
doGet, doPost
-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
getOutputFormat
public net.sourceforge.plantuml.FileFormat getOutputFormat()
Gives the wished output format of the diagram. This value is used by the DiagramResponse class.- Specified by:
getOutputFormat
in classUmlDiagramService
- Returns:
- the format for svg responses
-
-