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
Exception
public org.wso2.carbon.url.mapper.stub.types.carbon.PaginatedMappingData getPaginatedMappings(int pageNumber, String tenantDomain) throws Exception
Exception
public boolean isMappingLimitExceeded(String webAppName) throws Exception
Exception
public boolean editHost(String webappName, String oldhost, String newHost) throws Exception
Exception
public void editServiceDomain(String newHost, String oldhost) throws Exception
Exception
public void addServiceDomain(String host, String epr, String appType) throws Exception
Exception
public 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
Exception
Copyright © 2017 WSO2. All rights reserved.