Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EndpointBuilder

Hierarchy

  • EndpointBuilder

Methods

Static Private checkAndGetEndpointTemplateToUse

  • checkAndGetEndpointTemplateToUse(realm: Realm, defaultTemplate: string, serviceEndpointTemplatePerRealm?: any, useRealmSpecificEndpointTemplate?: undefined | false | true): string
  • Parameters

    • realm: Realm
    • defaultTemplate: string
    • Optional serviceEndpointTemplatePerRealm: any
    • Optional useRealmSpecificEndpointTemplate: undefined | false | true

    Returns string

Static createEndpointForDottedRegion

  • createEndpointForDottedRegion(template: string, regionId: string, endpointServiceName?: undefined | string): string

Static createEndpointFromRegion

  • createEndpointFromRegion(template: string, region: Region, endpointServiceName?: undefined | string, serviceEndpointTemplatePerRealm?: any, useRealmSpecificEndpointTemplate?: undefined | false | true): string
  • Parameters

    • template: string
    • region: Region
    • 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

Static Private getEndpointTemplateToUse

  • getEndpointTemplateToUse(realm: Realm, defaultTemplate: string, serviceEndpointTemplatePerRealm?: any): any

Static Private getParameterValueFromPathAndQueryParams

  • getParameterValueFromPathAndQueryParams(parameterName: string, pathParams: any, queryParams: any): string

Static Private isRealmSpecificEndpointTemplateEnabledViaEnv

  • isRealmSpecificEndpointTemplateEnabledViaEnv(): boolean

Static populateServiceParamsInEndpoint

  • populateServiceParamsInEndpoint(endpoint: string, pathParams: any, queryParams: any, requiredParams: Set<string>): string