---
lang: en
title: 'API docs: context.interceptionhandler._constructor_'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.interceptionhandler._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [InterceptionHandler](./context.interceptionhandler.md) &gt; [(constructor)](./context.interceptionhandler._constructor_.md)

## InterceptionHandler.(constructor)

Constructs a new instance of the `InterceptionHandler` class

<b>Signature:</b>

```typescript
constructor(context?: Context, session?: ResolutionSession | undefined, source?: InvocationSource<unknown> | undefined);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  context | <code>Context</code> |  |
|  session | <code>ResolutionSession &#124; undefined</code> |  |
|  source | <code>InvocationSource&lt;unknown&gt; &#124; undefined</code> |  |


