Class PlantUmlServlet

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

    public class PlantUmlServlet
    extends jakarta.servlet.http.HttpServlet
    Original idea from Achim Abeling for Confluence macro. This class is the old all-in-one historic implementation of the PlantUml server. See package.html for the new design. It's a work in progress. Modified by Arnaud Roques Modified by Pablo Lalloni Modified by Maxime Sinclair
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PlantUmlServlet()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doGet​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)  
      protected void doPost​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)  
      static String stringToHTMLString​(String string)  
      • 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

      • PlantUmlServlet

        public PlantUmlServlet()
    • Method Detail

      • stringToHTMLString

        public static String stringToHTMLString​(String string)
      • doGet

        public void doGet​(jakarta.servlet.http.HttpServletRequest request,
                          jakarta.servlet.http.HttpServletResponse response)
                   throws IOException,
                          jakarta.servlet.ServletException
        Overrides:
        doGet in class jakarta.servlet.http.HttpServlet
        Throws:
        IOException
        jakarta.servlet.ServletException
      • doPost

        protected void doPost​(jakarta.servlet.http.HttpServletRequest request,
                              jakarta.servlet.http.HttpServletResponse response)
                       throws jakarta.servlet.ServletException,
                              IOException
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException