bindUrl | ||||||||||||
bindUrl(source: typeReference, target: typeReference)
|
||||||||||||
Parameters :
|
isLocationReference | ||||||||
isLocationReference(obj: any)
|
||||||||
Parameters :
|
debugLog |
debugLog()
|
escapeRegExpPattern | ||||||||
escapeRegExpPattern(s: string)
|
||||||||
Converts any string to regular expression, which matches it. Handles special RegExp characters.
Parameters :
|
wildcardToRegex | ||||||||
wildcardToRegex(wildcard: string)
|
||||||||
Converts wildcard pattern with Usage:
Parameters :
|
isNavigable | ||||||||
isNavigable(obj: any)
|
||||||||
Parameters :
|
makeNavigableRef | ||||||||
makeNavigableRef(value: typeReference)
|
||||||||
Creates immutable NavigableRef instance from given value.
Parameters :
|
topLevelNavigableRef |
topLevelNavigableRef()
|
normalizeMediaType | ||||||||
normalizeMediaType(mimeType: string)
|
||||||||
Normalizes the media type. Removes format suffix (everything after +), and prepends
Parameters :
|
parseUrl | ||||||||
parseUrl(url: string)
|
||||||||
Rough URL parser.
Parameters :
|
provideLocationStrategy | ||||||||||||||||
provideLocationStrategy(platformLocationStrategy: typeReference, baseHref: string, options: typeReference)
|
||||||||||||||||
Internal factory function, exported only for AOT support.
Parameters :
|
resourceDataNavigableRef |
resourceDataNavigableRef()
|
simpleTypeQualityEvaluator | ||||||||
simpleTypeQualityEvaluator(type: string)
|
||||||||
View type evaluator function, that returns: 0 for pure wildcard types (like '') 0.5 for types containing wildcard (like 'aaa/') 1 for types without wildcard characters.
Parameters :
|
statusQualityEvaluator | ||||||||
statusQualityEvaluator(status: string)
|
||||||||
Response status code pattern quality evaluator. 0 for pure wildcard patterns (like '*' or '???') 1 for exact values (like '204') otherwise its ration of wildcard to number characters. That is '2??' is 0.333, '20?' is 0.666. This function assumes all status strings has constant length. Otherwise values would be inconsistent.
Parameters :
|