@startuml start if (status is 302?) then (yes) :put request back into the queue; -> enter connection validation; partition ConnectionValidator { repeat :start validation; if (validationRetryCount < 5) then (yes) #aaeeff:validationRetryCount ++; #aaeeff:Reset successCounter and failCounter; :<b>send request to status.php; :redirectionDepth = 0; while (status is 302 and redirectionDepth < 5) is (yes) :follow redirect; :redirectionDepth ++; endwhile (no) if (status is 200) then (yes) if (valid content) then (yes) #palegreen:successCounter ++; else (no) #pink:failCounter ++; endif else (no) #pink:failCounter ++; endif :<b>send authenticated request to WebDAV endpoint; if (status is 200) then (yes) if (valid content) then (yes) #palegreen:successCounter ++; else (no) #pink:failCounter ++; endif else (no) if (status is 401) then (yes) #aaeeff:trigger auth refresh; else (no) endif #pink:failCounter ++; endif else (no) :stop validation &\npause connection; :alert user; ->User presses Retry; :reset validationRetryCount; :re-start validation; end endif repeat while (successCounter >= failCounter) is (no); -> yes; } :resend queued request; else (no) endif :handle response; @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art