コード例 #1
0
 @Bean
 public BaseUriDiscover baseUriDiscover() {
   if (customLinkBuilderConfigurer != null) {
     BaseUriDiscover baseUriDiscover = customLinkBuilderConfigurer.baseUriDiscover();
     if (baseUriDiscover != null) {
       return baseUriDiscover;
     }
   }
   return defaultLinkBuilderConfigurer.baseUriDiscover();
 }
コード例 #2
0
 @Bean
 public ExpressionExecutor spelExecutor() {
   if (customLinkBuilderConfigurer != null) {
     ExpressionExecutor expressionExecutor = customLinkBuilderConfigurer.spelExecutor();
     if (expressionExecutor != null) {
       return expressionExecutor;
     }
   }
   return defaultLinkBuilderConfigurer.spelExecutor();
 }
コード例 #3
0
 @Bean
 public MethodCallUriGenerator linkGenerator() {
   if (customLinkBuilderConfigurer != null) {
     MethodCallUriGenerator methodCallUriGenerator = customLinkBuilderConfigurer.linkGenerator();
     if (methodCallUriGenerator != null) {
       return methodCallUriGenerator;
     }
   }
   return defaultLinkBuilderConfigurer.linkGenerator();
 }
コード例 #4
0
 @Bean
 public RequestPartsFactoryList requestPartsFactoryList() {
   if (customLinkBuilderConfigurer != null) {
     RequestPartsFactoryList requestPartsFactoryList =
         customLinkBuilderConfigurer.requestPartsFactoryList();
     if (requestPartsFactoryList != null) {
       return requestPartsFactoryList;
     }
   }
   return defaultLinkBuilderConfigurer.requestPartsFactoryList();
 }
コード例 #5
0
 @Bean
 public MethodTemplateGenerator templateGenerator() {
   if (customLinkBuilderConfigurer != null) {
     MethodTemplateGenerator methodTemplateGenerator =
         customLinkBuilderConfigurer.templateGenerator();
     if (methodTemplateGenerator != null) {
       return methodTemplateGenerator;
     }
   }
   return defaultLinkBuilderConfigurer.templateGenerator();
 }