Class Base64Servlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
net.sourceforge.plantuml.servlet.UmlDiagramService
net.sourceforge.plantuml.servlet.Base64Servlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class Base64Servlet extends UmlDiagramService
Base64 servlet of the webapp. This servlet produces the UML diagram in Base64 format.
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.sourceforge.plantuml.FileFormat
    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, doPatch, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Base64Servlet

      public Base64Servlet()
  • 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:
      getOutputFormat in class UmlDiagramService
      Returns:
      the format for Base64 responses