com.spring.boxes.gateway.GatewayAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boxes-gateway-starter Show documentation
Show all versions of spring-boxes-gateway-starter Show documentation
spring-cookie-boxes-boot-starter
package com.spring.boxes.gateway;
import com.spring.boxes.gateway.exception.GatewayExceptionHandler;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class GatewayAutoConfiguration {
@Bean
@ConditionalOnMissingBean
public GatewayExceptionHandler gatewayExceptionHandler(){
return new GatewayExceptionHandler();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy