Class ImgServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    public class ImgServlet
    extends UmlDiagramService
    Image servlet of the webapp. This servlet produces the UML diagram in PNG format.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ImgServlet()  
    • 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 jakarta.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
    • Constructor Detail

      • ImgServlet

        public ImgServlet()
    • 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 class UmlDiagramService
        Returns:
        the format for image responses