@Override
    public void handle(HttpExchange exchange) throws IOException {
        Health health = this.healthReporter.get();
        byte[] response = health.toString().getBytes(StandardCharsets.UTF_8);

        exchange.sendResponseHeaders(health.isHealthy() ? 200 : 503, response.length);
        try (OutputStream responseBody = exchange.getResponseBody()) {
            responseBody.write(response);
        }
    }
Provides a tiny http server indicating the current status of the app
standalone/app/src/main/java/me/lucko/luckperms/standalone/app/utils/HeartbeatHttpServer.java