Package net.sourceforge.plantuml.servlet
Class MapServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- net.sourceforge.plantuml.servlet.MapServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
public class MapServlet extends jakarta.servlet.http.HttpServlet
MAP servlet of the webapp. This servlet produces the image map of the diagram in HTML format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MapServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
net.sourceforge.plantuml.FileFormat
getOutputFormat()
Gives the wished output format of the diagram.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
- Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
jakarta.servlet.ServletException
-
getOutputFormat
public net.sourceforge.plantuml.FileFormat getOutputFormat()
Gives the wished output format of the diagram. This value is used by the DiagramResponse class.- Returns:
- the format for map responses
-
-