public class ConfigurationLoader extends Object
ConfigurationLoader
contains utilities to load configuration file content required for Internal APIs
implementation.Constructor and Description |
---|
ConfigurationLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
destroy() |
static List<InternalAPI> |
getHttpInternalApis() |
static List<InternalAPI> |
getHttpsInternalApis() |
static int |
getInternalInboundHttpPort() |
static int |
getInternalInboundHttpsPort() |
static org.apache.synapse.transport.passthru.core.ssl.SSLConfiguration |
getSslConfiguration() |
static boolean |
isInternalApiEnabled()
Reads and check from the synapse properties file whether the Internal api is enabled.
|
static boolean |
isSslConfiguredSuccessfully() |
static void |
loadInternalApis(String apiFilePath) |
public static void loadInternalApis(String apiFilePath)
public static int getInternalInboundHttpPort()
public static int getInternalInboundHttpsPort()
public static org.apache.synapse.transport.passthru.core.ssl.SSLConfiguration getSslConfiguration()
public static List<InternalAPI> getHttpInternalApis()
public static List<InternalAPI> getHttpsInternalApis()
public static boolean isSslConfiguredSuccessfully()
public static boolean isInternalApiEnabled()
public static void destroy()
Copyright © 2021 WSO2. All rights reserved.