IFluidHandleContext Interface
An IFluidHandleContext describes a routing context from which other IFluidHandleContexts are defined
Signature
export interface IFluidHandleContext extends IProvideFluidHandleContext
Extends: IProvideFluidHandleContext
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
absolutePath | string | The absolute path to the handle context from the root. | |
isAttached | boolean | Flag indicating whether or not the entity has services attached. | |
routeContext | optional |
IFluidHandleContext | The parent IFluidHandleContext that has provided a route path to this IFluidHandleContext or undefined at the root. |
Methods
Method | Return Type | Description |
---|---|---|
attachGraph() | void | Runs through the graph and attach the bounded handles. |
resolveHandle(request) | Promise<IResponse> |
Property Details
absolutePath
The absolute path to the handle context from the root.
Signature
readonly absolutePath: string;
Type: string
isAttached
Flag indicating whether or not the entity has services attached.
Signature
readonly isAttached: boolean;
Type: boolean
routeContext
The parent IFluidHandleContext that has provided a route path to this IFluidHandleContext or undefined at the root.
Signature
readonly routeContext?: IFluidHandleContext;
Type: IFluidHandleContext
Method Details
attachGraph
Runs through the graph and attach the bounded handles.
Signature
attachGraph(): void;
resolveHandle
Signature
resolveHandle(request: IRequest): Promise<IResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
request | IRequest |
Returns
Return type: Promise<IResponse>