private List<Upstream> convertUpstreamList(final List<WebSocketUpstream> upstreamList) {
        return upstreamList.stream()
                .map(u -> Upstream.builder()
                        .protocol(u.getProtocol())
                        .url(u.getUrl())
                        .weight(u.getWeight())
                        .status(u.isStatus())
                        .timestamp(u.getTimestamp())
                        .warmup(u.getWarmup())
                        .build())
                .collect(Collectors.toList());
    }
The type WebSocket plugin data handler.
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-websocket/src/main/java/org/apache/shenyu/plugin/websocket/handler/WebSocketPluginDataHandler.java