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 readonly string  
pathParams readonly PathParameterValues  
schemas readonly SchemasObject  
sourcePath readonly string  
spec readonly OperationObject  
statusCode readonly number  
targetLocation readonly string  
verb readonly string  

Methods

Method Modifiers Description
describe()    
invokeHandler({ response }, args)    
isRedirectRoute(obj) static type guard type checker for this class
updateBindings(requestContext)