From 86bbf7cbbfcdc82c994b0a3d0ea9a04290160683 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Tue, 06 Apr 2021 14:47:48 +0000
Subject: [PATCH] Katalog (in Arbeit)

---
 src/de/uhilger/mediaz/api/StorageHandler.java |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/src/de/uhilger/mediaz/api/StorageHandler.java b/src/de/uhilger/mediaz/api/StorageHandler.java
index 72787d2..f022ada 100644
--- a/src/de/uhilger/mediaz/api/StorageHandler.java
+++ b/src/de/uhilger/mediaz/api/StorageHandler.java
@@ -41,7 +41,7 @@
  * @author Ulrich Hilger
  * @version 1, 5.4.2021
  */
-public class StorageHandler implements HttpHandler  {
+public class StorageHandler extends AbstractHandler implements HttpHandler {
   
   private static final Logger logger = Logger.getLogger(StorageHandler.class.getName());
 
@@ -186,17 +186,6 @@
       String elemName = elems[elems.length - 1];
       return fs.readJson(type, elemName);
     }
-  }
-  
-  private String jsonWithEnclosingType(Object o) {
-    StringBuilder sb = new StringBuilder();
-    sb.append("{\"");
-    sb.append(o.getClass().getSimpleName());
-    sb.append("\": ");
-    Gson gson = new Gson();
-    sb.append(gson.toJson(o));
-    sb.append("}");
-    return sb.toString();
   }
   
   private String bodyLesen(HttpExchange e) throws IOException {

--
Gitblit v1.9.3