From 852f209e38278342948786f576c5a7a620a0d564 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Tue, 23 Mar 2021 09:27:42 +0000
Subject: [PATCH] seek eingebaut, Objekthierarchie Handler

---
 src/de/uhilger/avdirektor/handler/PingHandler.java |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/de/uhilger/avdirektor/handler/PingHandler.java b/src/de/uhilger/avdirektor/handler/PingHandler.java
index 1e7bde1..b94fad4 100644
--- a/src/de/uhilger/avdirektor/handler/PingHandler.java
+++ b/src/de/uhilger/avdirektor/handler/PingHandler.java
@@ -19,21 +19,16 @@
 public class PingHandler implements HttpHandler {
   
   private static final Logger logger = Logger.getLogger(PingHandler.class.getName());
-  
 
   @Override
   public void handle(HttpExchange t) throws IOException {
     logger.log(Level.FINE, "RequestURI: {0}", t.getRequestURI().toString());
     
-    String antwort = "ping Antwort";    
-    
-    String response = antwort;
+    String response = "ping";
     t.sendResponseHeaders(200, response.length());
     OutputStream os = t.getResponseBody();
     os.write(response.getBytes());
     os.close();    
-    
-
   }
   
 }

--
Gitblit v1.9.3