public static List<String> getSegments(final String path) {
        String fixPath = fixPath(path);
        if (StringUtils.isNotEmpty(fixPath)) {
            return Arrays.asList(StringUtils.split(fixPath, SLASH));
        }
        return Collections.emptyList();
    }
getSegments.
@param path path
@return segments
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/utils/UrlPathUtils.java