public class APIKitTools extends Object
| Modifier and Type | Field and Description |
|---|---|
static NamespaceWithLocation |
API_KIT_NAMESPACE |
| Constructor and Description |
|---|
APIKitTools() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addAsteriskToPath(String path) |
static boolean |
canExtensionsBeEnabled(String candidateVersion) |
static boolean |
defaultIsInboundEndpoint(String candidateVersion) |
static String |
getCompletePathFromBasePathAndPath(String basePath,
String listenerPath) |
static String |
getHostFromUri(String baseUri) |
static String |
getPathFromUri(String baseUri,
boolean addAsterisk) |
static String |
getPortFromUri(String baseUri) |
static String |
getProtocolFromUri(String baseUri) |
static String |
readContents(File fileToRead) |
static String |
readContents(InputStream streamToRead) |
public static final NamespaceWithLocation API_KIT_NAMESPACE
public static String getCompletePathFromBasePathAndPath(String basePath, String listenerPath)
public static boolean defaultIsInboundEndpoint(String candidateVersion)
public static boolean canExtensionsBeEnabled(String candidateVersion)
public static String readContents(File fileToRead) throws IOException
IOExceptionpublic static String readContents(InputStream streamToRead) throws IOException
IOExceptionCopyright © 2022. All rights reserved.