public class UrlMapperServiceClient extends Object
| Constructor and Description |
|---|
UrlMapperServiceClient(String cookie,
String backendServerURL,
org.apache.axis2.context.ConfigurationContext configCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
addServiceDomain(String host,
String epr,
String appType) |
void |
addWebAppToHost(String appId,
String context,
String appType) |
void |
deleteHost(String host) |
boolean |
editHost(String webappName,
String oldhost,
String newHost) |
void |
editServiceDomain(String newHost,
String oldhost) |
org.wso2.carbon.url.mapper.stub.types.carbon.MappingData[] |
getAllMappings() |
String[] |
getHostForEpr(String epr) |
String[] |
getHostForWebApp(String webAppName) |
String |
getHttpPort() |
org.wso2.carbon.url.mapper.stub.types.carbon.PaginatedMappingData |
getPaginatedMappings(int pageNumber,
String tenantDomain) |
String |
getPrefix() |
boolean |
isMappingExist(String mappingName) |
boolean |
isMappingLimitExceeded(String webAppName) |
void |
removeServiceDomain(String host) |
public org.wso2.carbon.url.mapper.stub.types.carbon.MappingData[] getAllMappings()
throws Exception
Exceptionpublic org.wso2.carbon.url.mapper.stub.types.carbon.PaginatedMappingData getPaginatedMappings(int pageNumber,
String tenantDomain)
throws Exception
Exceptionpublic boolean isMappingLimitExceeded(String webAppName) throws Exception
Exceptionpublic boolean editHost(String webappName, String oldhost, String newHost) throws Exception
Exceptionpublic void editServiceDomain(String newHost, String oldhost) throws Exception
Exceptionpublic void addServiceDomain(String host, String epr, String appType) throws Exception
Exceptionpublic void addWebAppToHost(String appId, String context, String appType) throws Exception
appId - the tenant specified application ID for a web appcontext - the context of the web app from the appserver localhostException - throws when exception in adding virtual host or webapppublic String[] getHostForWebApp(String webAppName) throws Exception
ExceptionCopyright © 2017 WSO2. All rights reserved.