Class EndpointBuilder
Methods
Static Private checkAndGetEndpointTemplateToUse
- checkAndGetEndpointTemplateToUse(realm: Realm, defaultTemplate: string, serviceEndpointTemplatePerRealm?: any, useRealmSpecificEndpointTemplate?: undefined | false | true): string
-
Parameters
-
-
defaultTemplate: string
-
Optional serviceEndpointTemplatePerRealm: any
-
Optional useRealmSpecificEndpointTemplate: undefined | false | true
Returns string
Static createEndpointForDottedRegion
- createEndpointForDottedRegion(template: string, regionId: string, endpointServiceName?: undefined | string): string
-
Parameters
-
template: string
-
regionId: string
-
Optional endpointServiceName: undefined | string
Returns string
Static createEndpointFromRegion
- createEndpointFromRegion(template: string, region: Region, endpointServiceName?: undefined | string, serviceEndpointTemplatePerRealm?: any, useRealmSpecificEndpointTemplate?: undefined | false | true): string
-
Parameters
-
template: string
-
-
Optional endpointServiceName: undefined | string
-
Optional serviceEndpointTemplatePerRealm: any
-
Optional useRealmSpecificEndpointTemplate: undefined | false | true
Returns string
Static createEndpointFromRegionId
- createEndpointFromRegionId(template: string, regionId: string, endpointServiceName?: undefined | string, serviceEndpointTemplatePerRealm?: any, useRealmSpecificEndpointTemplate?: undefined | false | true): string
-
Parameters
-
template: string
-
regionId: string
-
Optional endpointServiceName: undefined | string
-
Optional serviceEndpointTemplatePerRealm: any
-
Optional useRealmSpecificEndpointTemplate: undefined | false | true
Returns string
Static createEndpointFromRegionIdAndSecondLevelDomain
- createEndpointFromRegionIdAndSecondLevelDomain(template: string, regionId: string, secondLevelDomain: string): string
-
Parameters
-
template: string
-
regionId: string
-
secondLevelDomain: string
Returns string
Static Private getEndpointTemplateToUse
- getEndpointTemplateToUse(realm: Realm, defaultTemplate: string, serviceEndpointTemplatePerRealm?: any): any
-
Parameters
-
-
defaultTemplate: string
-
Optional serviceEndpointTemplatePerRealm: any
Returns any
Static Private getParameterValueFromPathAndQueryParams
- getParameterValueFromPathAndQueryParams(parameterName: string, pathParams: any, queryParams: any): string
-
Parameters
-
parameterName: string
-
pathParams: any
-
queryParams: any
Returns string
Static Private isRealmSpecificEndpointTemplateEnabledViaEnv
- isRealmSpecificEndpointTemplateEnabledViaEnv(): boolean
Static populateServiceParamsInEndpoint
- populateServiceParamsInEndpoint(endpoint: string, pathParams: any, queryParams: any, requiredParams: Set<string>): string
-
Parameters
-
endpoint: string
-
pathParams: any
-
queryParams: any
-
requiredParams: Set<string>
Returns string