refactored translations, preparing sending of document

This commit is contained in:
2025-07-17 13:03:49 +02:00
parent 7616aa9581
commit dc8de9707a
38 changed files with 430 additions and 390 deletions

View File

@@ -27,6 +27,7 @@ public abstract class BaseHandler extends PathHandler {
headers.add("Access-Control-Allow-Headers", "Content-Type");
headers.add("Access-Control-Allow-Credentials", "true");
headers.add("Access-Control-Allow-Methods","DELETE, GET, POST, PATCH");
headers.add("Access-Control-Expose-Headers","Content-Disposition");
}
return ex;
}

View File

@@ -1,17 +0,0 @@
/* © SRSoftware 2025 */
package de.srsoftware.umbrella.core;
public class Tuple<A,B>{
public final A a;
public final B b;
public Tuple(A a, B b){
this.a = a;
this.b = b;
}
public static <A, B> Tuple<A,B> of(A a, B b) {
return new Tuple<>(a,b);
}
}