---
title: Delegate
description: Delegates all method calls to a referenced handler, filter, or any object type.
component: pinggateway
version: 2026
page_id: pinggateway:reference:Delegate
canonical_url: https://docs.pingidentity.com/pinggateway/2026/reference/Delegate.html
revdate: 2025-06-02T18:01:47Z
section_ids:
  Delegate-usage: Usage
  Delegate-example: Example
  Delegate-moreinfo: More information
---

# Delegate

Delegates all method calls to a referenced handler, filter, or any object type.

Use a Delegate to decorate referenced objects differently when they are used multiple times in a configuration.

## Usage

```json
{
  "filter or handler": {
  "type": "Delegate",
  [decorator reference, ...],
    "config": {
      "delegate": object
    }
  }
}
```

## Example

For an example of how to delegate tasks to `ForgeRockClientHandler`, and capture PingGateway's interaction with AM, refer to [Decorating PingGateway's interactions with AM](../configure/decorators.html#decorators-ig-am).

## More information

[org.forgerock.openig.decoration.DelegateHeaplet](../_attachments/apidocs/org/forgerock/openig/decoration/DelegateHeaplet.html)
