@Override
    public void handlerRule(final RuleData ruleData) {
        Optional.ofNullable(ruleData.getHandle())
                .ifPresent(s -> {
                    MockHandle mockHandle = GsonUtils.getInstance().fromJson(s, MockHandle.class);
                    CACHED_HANDLE.get().cachedHandle(CacheKeyUtils.INST.getKey(ruleData), mockHandle);
                });
    }
The type mock plugin data subscriber.
shenyu-plugin/shenyu-plugin-mock/src/main/java/org/apache/shenyu/plugin/mock/handler/MockPluginHandler.java