Class PlantUmlServlet

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

    public class PlantUmlServlet
    extends AsciiCoderServlet
    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 Detail

      • PlantUmlServlet

        public PlantUmlServlet()
    • Method Detail

      • stringToHTMLString

        public static String stringToHTMLString​(String string)
        Encode arbitrary string to HTML string.
        Parameters:
        string - arbitrary string
        Returns:
        html encoded string
      • doGet

        public void doGet​(jakarta.servlet.http.HttpServletRequest request,
                          jakarta.servlet.http.HttpServletResponse response)
                   throws IOException,
                          jakarta.servlet.ServletException
        Overrides:
        doGet in class AsciiCoderServlet
        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 AsciiCoderServlet
        Throws:
        jakarta.servlet.ServletException
        IOException