Java 类org.springframework.boot.cloud.CloudPlatform 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ServerProperties.java   
protected final boolean getOrDeduceUseForwardHeaders() {
    if (this.useForwardHeaders != null) {
        return this.useForwardHeaders;
    }
    CloudPlatform platform = CloudPlatform.getActive(this.environment);
    return (platform == null ? false : platform.isUsingForwardHeaders());
}
项目:spring-boot-concourse    文件:ServerProperties.java   
protected final boolean getOrDeduceUseForwardHeaders() {
    if (this.useForwardHeaders != null) {
        return this.useForwardHeaders;
    }
    CloudPlatform platform = CloudPlatform.getActive(this.environment);
    return (platform == null ? false : platform.isUsingForwardHeaders());
}
项目:contestparser    文件:ServerProperties.java   
protected final boolean getOrDeduceUseForwardHeaders() {
    if (this.useForwardHeaders != null) {
        return this.useForwardHeaders;
    }
    CloudPlatform platform = CloudPlatform.getActive(this.environment);
    return (platform == null ? false : platform.isUsingForwardHeaders());
}