Commit 9ee4b279 authored by Maxime Sinclair's avatar Maxime Sinclair
Browse files

[FEATURE] Future design of the PlantUML Server

A new map feature to retrieve the image map of a diagram is added
parent e4128699
## Class diagram ##
###################
@startuml
hide empty members
hide empty methods
hide empty fields
abstract class UmlDiagramService {
public void doGet(HttpServletRequest rq, HttpServletResponse rsp)
abstract public ResponseSender getSender()
abstract public String getSource( String uri)
abstract public FileFormat getOutputFormat()
}
interface ResponseSender {
ResponseSender( HttpServletResponse r, FileFormat f)
void sendDiagram( String uml, int n)
}
abstract HttpServlet <|-- UmlDiagramService
abstract HttpServlet <|-- ProxyServlet
UmlDiagramService <|-- PngServlet
UmlDiagramService <|-- SvgServlet
UmlDiagramService <|-- AsciiServlet
UmlDiagramService <|-- MapServlet
UmlDiagramService o- ResponseSender
ResponseSender <|-- DiagramResponse
ResponseSender <|-- MapResponse
ResponseSender <|-- ProxyResponse
ProxyResponse -o ProxyServlet
@enduml
## Sequence diagram ##
######################
@startuml
TODO
@enduml
\ No newline at end of file
......@@ -6,7 +6,7 @@
- Service servlets : ImgServlet, SvgServlet, AsciiServlet, ProxyServlet that only produce a diagram as output.<br>
<br>
Structure of the service part of the PlantUmlServer: <br>
<img src="http://www.plantuml.com/plantuml/img/XP11JiCm44NtFiKiKwcv0HiaLDY1Y3Y0uqoJaUpO7OyZAk3kr2I4f0MwzDFJ_z_JKOE0BiWH7BeQEQfkYQJppGhj2Us9w3eAQoDWh8uHNfoz8zsoTXNoG0RXJG64L5ioC7XgeF7tACM3ICY6HNd6Gy8em8Sjh70Cley87CFcb34NJM6LCFKjj2YLJsom-2Q9QUNloEBEizEIvSSa8SduBZRgGusxfz5pQLvznehVrssN1VlS_FNDY7qp1VmiSpOtpiiMUN3pNfQNr_l7VMB_Ufo8kZpxwFJj5QCQhXctqH3zxVZo_4wV" />
<img src="http://www.plantuml.com/plantuml/img/XP5DReGm38NtdC9BAi4DkgbKJRkfMXNr004CH4f8nZ6eexPtR_WjC7JOaUVFVlQZaZa2QiiNqAXJ91TKIuahaw-aGgBoYaWTayWOCYMSWm-j7gKeIUW4gPKPmbS0O9jKoGnQ8tF8pHDo-CniEq8Xl-EvGST0vmXMihEcTWZax9sVCHkDmwPwWdME12Noy1NkmGcJhCiUCWrb64vAGtAFFqc59qDQSDVpsh1jU7ZxyJ-1h1cf4FwwpHRTiMiftByfMbeKtGfzECxtZFdzhQXL1DuHwivwtdGn5kw_u_Ww-Xli6vdFowW4r_ziOEhoW4ZQ8-B1PL8UC2_2_a-OU9Ddi4cy7p4sJQLTnjlShFUHpCJg1R5P9VOB" />
</p>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment