io.deephaven.ssl.config.ProtocolsModern Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-ssl-config Show documentation
Show all versions of deephaven-ssl-config Show documentation
The Deephaven SSL Configuration
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.ssl.config;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.deephaven.annotations.SingletonStyle;
import org.immutables.value.Value.Immutable;
import java.util.Collections;
import java.util.List;
/**
* Includes the protocol {@value #TLSV_1_3}.
*
* @see Modern compatibility
*/
@Immutable
@SingletonStyle
@JsonDeserialize(as = ImmutableProtocolsModern.class)
public abstract class ProtocolsModern implements Protocols {
public static final String TLSV_1_3 = "TLSv1.3";
public static ProtocolsModern of() {
return ImmutableProtocolsModern.of();
}
public final List protocols() {
return Collections.singletonList(TLSV_1_3);
}
@Override
public final T walk(Visitor visitor) {
return visitor.visit(this);
}
}