public class MgwEndpointDTO extends Object
Instance of this class refers to a single url of a endpoint definition in OpenAPI definition.
Ex: In following load balance endpoint definition, x-wso2-production-endpoints: urls: - http://www.mocky.io/v2/5cd28cd73100008628339802 - https://petstore.swagger.io/v2
two MgwEndpointDTO instances will be created to
represent two load balance URLs.
| Constructor and Description |
|---|
MgwEndpointDTO(String endpointUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpointUrl() |
boolean |
isEtcdEnabled() |
void |
setEndpointUrl(String endpointUrl)
Sets endpointUrl and isEtcdEnabled.
|
public MgwEndpointDTO(String endpointUrl)
public String getEndpointUrl()
public void setEndpointUrl(String endpointUrl)
EndpointListRouteDTO to provide proper error message.endpointUrl - endpoint stringpublic boolean isEtcdEnabled()
Copyright © 2021 WSO2. All rights reserved.