Page Contents
Home > @loopback/rest > RedirectRoute
RedirectRoute class
Signature:
export declare class RedirectRoute implements RouteEntry, ResolvedRoute
Implements: RouteEntry, ResolvedRoute
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(sourcePath, targetLocation, statusCode) | Constructs a new instance of the RedirectRoute class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
path | string | ||
pathParams | PathParameterValues | ||
schemas | SchemasObject | ||
sourcePath | string | ||
spec | OperationObject | ||
statusCode | number | ||
targetLocation | string | ||
verb | string |
Methods
Method | Modifiers | Description |
---|---|---|
describe() | ||
invokeHandler({ response }, args) | ||
isRedirectRoute(obj) | static |
type guard type checker for this class |
updateBindings(requestContext) |