@Override
    public void register(final ApiBean apiBean) {

        if (preMatch(apiBean)) {
            publisher.publishEvent(preParse(apiBean));
            return;
        }

        if (!match(apiBean)) {
            return;
        }

        apiBean.getApiDefinitions().stream()
                .filter(this::match)
                .map(this::parse)
                .forEach(apiDatas -> apiDatas.forEach(publisher::publishEvent));
    }
Parses the apiDefinition as a registrable objects.

@param apiDefinition apiDefinition to be parsed
@return registrable objects
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/registrar/AbstractApiRegistrar.java