@Bean public BaseUriDiscover baseUriDiscover() { if (customLinkBuilderConfigurer != null) { BaseUriDiscover baseUriDiscover = customLinkBuilderConfigurer.baseUriDiscover(); if (baseUriDiscover != null) { return baseUriDiscover; } } return defaultLinkBuilderConfigurer.baseUriDiscover(); }
@Bean public ExpressionExecutor spelExecutor() { if (customLinkBuilderConfigurer != null) { ExpressionExecutor expressionExecutor = customLinkBuilderConfigurer.spelExecutor(); if (expressionExecutor != null) { return expressionExecutor; } } return defaultLinkBuilderConfigurer.spelExecutor(); }
@Bean public MethodCallUriGenerator linkGenerator() { if (customLinkBuilderConfigurer != null) { MethodCallUriGenerator methodCallUriGenerator = customLinkBuilderConfigurer.linkGenerator(); if (methodCallUriGenerator != null) { return methodCallUriGenerator; } } return defaultLinkBuilderConfigurer.linkGenerator(); }
@Bean public RequestPartsFactoryList requestPartsFactoryList() { if (customLinkBuilderConfigurer != null) { RequestPartsFactoryList requestPartsFactoryList = customLinkBuilderConfigurer.requestPartsFactoryList(); if (requestPartsFactoryList != null) { return requestPartsFactoryList; } } return defaultLinkBuilderConfigurer.requestPartsFactoryList(); }
@Bean public MethodTemplateGenerator templateGenerator() { if (customLinkBuilderConfigurer != null) { MethodTemplateGenerator methodTemplateGenerator = customLinkBuilderConfigurer.templateGenerator(); if (methodTemplateGenerator != null) { return methodTemplateGenerator; } } return defaultLinkBuilderConfigurer.templateGenerator(); }