|
|
@ -25,6 +25,7 @@ import org.springframework.beans.factory.support.RootBeanDefinition;
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
|
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.web.ServerProperties;
|
|
|
|
import org.springframework.boot.autoconfigure.web.ServerProperties;
|
|
|
@ -65,6 +66,7 @@ public class ReactiveWebServerFactoryAutoConfiguration {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
|
|
|
|
@ConditionalOnMissingBean
|
|
|
|
@ConditionalOnProperty(value = "server.forward-headers-strategy",
|
|
|
|
@ConditionalOnProperty(value = "server.forward-headers-strategy",
|
|
|
|
havingValue = "framework")
|
|
|
|
havingValue = "framework")
|
|
|
|
public ForwardedHeaderTransformer forwardedHeaderTransformer() {
|
|
|
|
public ForwardedHeaderTransformer forwardedHeaderTransformer() {
|
|
|
|