src/de/uhilger/avdirektor/handler/PingHandler.java
@@ -20,20 +20,15 @@ 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(); } }