redirect package
Classes
|
Class |
Description |
|---|---|
Functions
|
Function |
Description |
|---|---|
|
Extract the variables and their respective values given a source URL and a path. The source URL is expected to contain wildcards in it or end with a splat. A named wildcard takes the single path segment in its position; a trailing splat takes everything left in the path, which is an empty string when the path ends at the splat's parent — a splat covers that path too. | |
|
getTargetVariableExpandedUrl(url, redirectDefinition, isVariable) |
Given a redirect definition and an incoming URL, calculate what the final outgoing URL is to be. Wildcards in the target are filled from the matching source wildcards; a source splat can be written in the target either as
|
|
Breaks a url into the separate parts for processing | |
|
RedirectFileConverter({ client, redirectEntryObject, wildcardConverter, writeFile, }, input) |
Interfaces
|
Interface |
Description |
|---|---|
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Breaks a url into the separate parts for processing | |