Page Contents

Home > @loopback/rest > RedirectRoute

RedirectRoute class

Signature:

export declare class RedirectRoute 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  
spec   OperationObject  
verb   string  

Methods

Method Modifiers Description
describe()    
invokeHandler({ response }, args)    
updateBindings(requestContext)