• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java SslState类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中com.microsoft.azure.management.appservice.SslState的典型用法代码示例。如果您正苦于以下问题:Java SslState类的具体用法?Java SslState怎么用?Java SslState使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

SslState类属于com.microsoft.azure.management.appservice包,在下文中一共展示了SslState类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: normalizeProperties

点赞 2

import com.microsoft.azure.management.appservice.SslState; //导入依赖的package包/类
@SuppressWarnings("unchecked")
private FluentT normalizeProperties() {
    this.hostNameBindingsToCreate = new TreeMap<>();
    this.hostNameBindingsToDelete = new ArrayList<>();
    this.appSettingsToAdd = new HashMap<>();
    this.appSettingsToRemove = new ArrayList<>();
    this.appSettingStickiness = new HashMap<>();
    this.connectionStringsToAdd = new HashMap<>();
    this.connectionStringsToRemove = new ArrayList<>();
    this.connectionStringStickiness = new HashMap<>();
    this.sourceControl = null;
    this.sourceControlToDelete = false;
    this.authenticationToUpdate = false;
    this.sslBindingsToCreate = new TreeMap<>();
    if (inner().hostNames() != null) {
        this.hostNamesSet = Sets.newHashSet(inner().hostNames());
    }
    if (inner().enabledHostNames() != null) {
        this.enabledHostNamesSet = Sets.newHashSet(inner().enabledHostNames());
    }
    if (inner().trafficManagerHostNames() != null) {
        this.trafficManagerHostNamesSet = Sets.newHashSet(inner().trafficManagerHostNames());
    }
    if (inner().outboundIpAddresses() != null) {
        this.outboundIPAddressesSet = Sets.newHashSet(inner().outboundIpAddresses().split(",[ ]*"));
    }
    this.hostNameSslStateMap = new HashMap<>();
    if (inner().hostNameSslStates() != null) {
        for (HostNameSslState hostNameSslState : inner().hostNameSslStates()) {
            // Server returns null sometimes, invalid on update, so we set default
            if (hostNameSslState.sslState() == null) {
                hostNameSslState.withSslState(SslState.DISABLED);
            }
            hostNameSslStateMap.put(hostNameSslState.name(), hostNameSslState);
        }
    }
    return (FluentT) this;
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:39,
代码来源:WebAppBaseImpl.java

示例2: withoutSslBinding

点赞 2

import com.microsoft.azure.management.appservice.SslState; //导入依赖的package包/类
@SuppressWarnings("unchecked")
public FluentImplT withoutSslBinding(String hostname) {
    if (hostNameSslStateMap.containsKey(hostname)) {
        hostNameSslStateMap.get(hostname).withSslState(SslState.DISABLED).withToUpdate(true);
    }
    return (FluentImplT) this;
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:8,
代码来源:WebAppBaseImpl.java

示例3: sslState

点赞 2

import com.microsoft.azure.management.appservice.SslState; //导入依赖的package包/类
@Override
public SslState sslState() {
    return inner().sslState();
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:5,
代码来源:HostNameSslBindingImpl.java

示例4: withSniBasedSsl

点赞 2

import com.microsoft.azure.management.appservice.SslState; //导入依赖的package包/类
@Override
public HostNameSslBindingImpl<FluentT, FluentImplT> withSniBasedSsl() {
    inner().withSslState(SslState.SNI_ENABLED);
    return this;
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:6,
代码来源:HostNameSslBindingImpl.java

示例5: withIpBasedSsl

点赞 2

import com.microsoft.azure.management.appservice.SslState; //导入依赖的package包/类
@Override
public HostNameSslBindingImpl<FluentT, FluentImplT> withIpBasedSsl() {
    inner().withSslState(SslState.IP_BASED_ENABLED);
    return this;
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:6,
代码来源:HostNameSslBindingImpl.java

示例6: sslState

点赞 1

import com.microsoft.azure.management.appservice.SslState; //导入依赖的package包/类
/**
 * Get the sslState value.
 *
 * @return the sslState value
 */
public SslState sslState() {
    return this.sslState;
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:9,
代码来源:HostNameBindingInner.java

示例7: withSslState

点赞 1

import com.microsoft.azure.management.appservice.SslState; //导入依赖的package包/类
/**
 * Set the sslState value.
 *
 * @param sslState the sslState value to set
 * @return the HostNameBindingInner object itself.
 */
public HostNameBindingInner withSslState(SslState sslState) {
    this.sslState = sslState;
    return this;
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:11,
代码来源:HostNameBindingInner.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)