private @NotNull List<String> getSupportedSslProtocols() {
    List<String> result = new ArrayList<>();

    switch (myConfiguration.getSslProtocols()) {
      case sslv3 -> result.add(SSL_V3_PROTOCOL);
      case tlsv1 -> result.add(TLS_V1_PROTOCOL);
      case all -> {}
    }

    return result;
  }
private @NotNull List<String> getSupportedSslProtocols()