private static String checkPath(@Nullable String path) {
        if (path == null || "/".equals(path)) {
            return "";
        } else if (!path.startsWith("/")) {
            return '/' + path;
        } else {
            return path;
        }
    }
This handler available to execute custom shutdown sequence.
resteasy/src/main/java/com/linecorp/armeria/server/resteasy/ResteasyService.java