public class HostObjectUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HostObjectUtils.RequiredUserFieldComparator |
static class |
HostObjectUtils.UserFieldComparator |
| Constructor and Description |
|---|
HostObjectUtils() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
checkDataPublishingEnabled()
This methods is to check whether stat publishing is enabled
|
static String |
getBackendPort(String transport)
Get the running transport port
|
static org.apache.axis2.context.ConfigurationContext |
getConfigContext() |
protected static org.wso2.carbon.apimgt.keymgt.client.SubscriberKeyMgtClient |
getKeyManagementClient() |
protected static org.wso2.carbon.apimgt.keymgt.client.ProviderKeyMgtClient |
getProviderClient()
Used to get instance of ProviderKeyMgtClient
|
static void |
invalidateRecentlyAddedAPICache(String username)
This method will clear recently added API cache.
|
protected static boolean |
isStatPublishingEnabled() |
protected static boolean |
isUsageDataSourceSpecified() |
static org.mozilla.javascript.NativeObject |
sendHttpHEADRequest(String urlVal,
String invalidStatusCodesRegex) |
static void |
setConfigContextService(org.wso2.carbon.utils.ConfigurationContextService configContext) |
public static void setConfigContextService(org.wso2.carbon.utils.ConfigurationContextService configContext)
public static org.apache.axis2.context.ConfigurationContext getConfigContext()
throws org.wso2.carbon.apimgt.api.APIManagementException
org.wso2.carbon.apimgt.api.APIManagementExceptionpublic static String getBackendPort(String transport)
transport - [http/https]protected static org.wso2.carbon.apimgt.keymgt.client.SubscriberKeyMgtClient getKeyManagementClient()
throws org.wso2.carbon.apimgt.api.APIManagementException
org.wso2.carbon.apimgt.api.APIManagementExceptionprotected static org.wso2.carbon.apimgt.keymgt.client.ProviderKeyMgtClient getProviderClient()
throws org.wso2.carbon.apimgt.api.APIManagementException
org.wso2.carbon.apimgt.api.APIManagementExceptionprotected static boolean checkDataPublishingEnabled()
public static void invalidateRecentlyAddedAPICache(String username)
username - protected static boolean isUsageDataSourceSpecified()
protected static boolean isStatPublishingEnabled()
Copyright © 2019 WSO2. All rights reserved.