public class UrlMapperAdminService
extends org.wso2.carbon.core.AbstractAdmin
Constructor and Description |
---|
UrlMapperAdminService() |
Modifier and Type | Method and Description |
---|---|
void |
addServiceDomain(String hostName,
String url,
String appType) |
void |
addWebAppToHost(String hostName,
String uri,
String appType) |
void |
deleteHost(String hostName) |
void |
deleteServiceDomain(String hostName) |
boolean |
editHost(String webappName,
String newHost,
String oldhost) |
void |
editServiceDomain(String newHost,
String oldhost) |
MappingData[] |
getAllMappings() |
String |
getDomainNamePrefix() |
String[] |
getHostForEpr(String url) |
String[] |
getHostForWebApp(String url) |
String |
getHttpPort() |
static PaginatedMappingData |
getPaginatedMappings(int pageNumber,
String tenantDomain) |
boolean |
isMappingExist(String mappingName) |
boolean |
isMappingLimitExceeded(String webAppName) |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
public void addWebAppToHost(String hostName, String uri, String appType) throws UrlMapperException
UrlMapperException
public String getHttpPort() throws UrlMapperException
UrlMapperException
public static PaginatedMappingData getPaginatedMappings(int pageNumber, String tenantDomain) throws UrlMapperException
UrlMapperException
public MappingData[] getAllMappings() throws UrlMapperException
UrlMapperException
public void addServiceDomain(String hostName, String url, String appType) throws UrlMapperException
UrlMapperException
public void editServiceDomain(String newHost, String oldhost) throws UrlMapperException
UrlMapperException
public void deleteServiceDomain(String hostName) throws UrlMapperException, org.apache.axis2.AxisFault
UrlMapperException
org.apache.axis2.AxisFault
public String[] getHostForEpr(String url) throws UrlMapperException
UrlMapperException
public String[] getHostForWebApp(String url) throws UrlMapperException
UrlMapperException
public String getDomainNamePrefix()
public boolean isMappingLimitExceeded(String webAppName) throws UrlMapperException
UrlMapperException
public boolean editHost(String webappName, String newHost, String oldhost) throws UrlMapperException
UrlMapperException
public void deleteHost(String hostName) throws UrlMapperException
UrlMapperException
public boolean isMappingExist(String mappingName) throws UrlMapperException
UrlMapperException
Copyright © 2017 WSO2. All rights reserved.