Extracted reusable doDiagramResponse() method
This commit is contained in:
committed by
Robert James Oxspring
parent
ad09f193f4
commit
5ef45f643d
@@ -76,7 +76,7 @@ class DiagramResponse {
|
||||
request = rq;
|
||||
}
|
||||
|
||||
void sendDiagram(String uml, int idx, boolean badRequestOnError) throws IOException {
|
||||
void sendDiagram(String uml, int idx) throws IOException {
|
||||
response.addHeader("Access-Control-Allow-Origin", "*");
|
||||
response.setContentType(getContentType());
|
||||
SourceStringReader reader = new SourceStringReader(uml);
|
||||
|
||||
Reference in New Issue
Block a user