Package net.sourceforge.plantuml.servlet
Class ImgServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
net.sourceforge.plantuml.servlet.UmlDiagramService
net.sourceforge.plantuml.servlet.ImgServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
Image servlet of the webapp.
This servlet produces the UML diagram in PNG format.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.sourceforge.plantuml.FileFormatGives the wished output format of the diagram.Methods inherited from class net.sourceforge.plantuml.servlet.UmlDiagramService
doGet, doPostMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, 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
-
ImgServlet
public ImgServlet()
-
-
Method Details
-
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:
getOutputFormatin classUmlDiagramService- Returns:
- the format for image responses
-