private static boolean isCaptureRestPathMatching(String token) {
        return (token.startsWith("{*") && token.endsWith("}")) || token.startsWith(":*");
    }
Return true if path parameter contains capture the rest path pattern
({@code "{*foo}"}" or {@code ":*foo"}).
core/src/main/java/com/linecorp/armeria/server/ParameterizedPathMapping.java