src.main.java.org.kawanfw.sql.tomcat.TomcatStarterUtilFirewall Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aceql-http Show documentation
Show all versions of aceql-http Show documentation
AceQL HTTP is a framework of REST like http APIs that allow to access to remote SQL databases over http from any device that supports http.
AceQL HTTP is provided with three client SDK:
- The AceQL C# Client SDK allows to wrap the HTTP APIs using Microsoft SQL Server like calls in their code, just like they would for a local database.
- The AceQL Java Client JDBC Driver allows to wrap the HTTP APIs using JDBC calls in their code, just like they would for a local database.
- The AceQL Python Client SDK allows SQL calls to be encoded with standard unmodified DB-API 2.0 syntax
package org.kawanfw.sql.tomcat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class TomcatStarterUtilFirewall {
public static List getList(String sqlFirewallClassNameArray) {
List sqlFirewallClassNames = new ArrayList<>();
if (sqlFirewallClassNameArray == null || sqlFirewallClassNameArray.isEmpty()) {
return sqlFirewallClassNames;
}
String [] array = sqlFirewallClassNameArray.split(",");
sqlFirewallClassNames = Arrays.asList(array);
return sqlFirewallClassNames;
}
}