org.zodiac.autoconfigure.web.remote.smart.WebFluxSmartHandlerMappingConfiguration Maven / Gradle / Ivy
package org.zodiac.autoconfigure.web.remote.smart;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
import org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration;
import org.springframework.context.annotation.Lazy;
import org.zodiac.core.web.remote.annotation.smart.WebFluxSmartHandlerMappingConfigurer;
@ConditionalOnWebApplication(type = Type.REACTIVE)
@AutoConfigureAfter(value = {WebFluxAutoConfiguration.class})
@ConditionalOnClass(value = {org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping.class})
public class WebFluxSmartHandlerMappingConfiguration extends WebFluxSmartHandlerMappingConfigurer {
public WebFluxSmartHandlerMappingConfiguration(@Lazy @Autowired(required = false) List handlerMappings) {
super(handlerMappings);
}
}