---
title: Response Attribute Fetch Mode
description: Map the name of an AM policy response attribute specified in Response Attribute Map as follows:
component: java-agents
version: 2023.11
page_id: java-agents:properties-reference:org.forgerock.agents.response.attribute.fetch.mode
canonical_url: https://docs.pingidentity.com/java-agents/2026/properties-reference/org.forgerock.agents.response.attribute.fetch.mode.html
llms_txt: https://docs.pingidentity.com/java-agents/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/java-agents/2026/properties-reference/org.forgerock.agents.response.attribute.fetch.mode.html
---

# Response Attribute Fetch Mode

Map the name of an AM policy response attribute specified in [Response Attribute Map](org.forgerock.agents.response.attribute.map.html) as follows:

* NONE: Do not map

* HTTP_HEADER: Map the to the name of an HTTP response header

* HTTP_COOKIE: Map to the name of an HTTP cookie

* REQUEST_ATTRIBUTE: Map to the name of an HTTP request attribute

|                          |                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.response.attribute.fetch.mode`                                                                                                                                                                                                                                                                                                 |
| Aliases                  | `com.sun.identity.agents.config.response.attribute.fetch.mode`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6`org.forgerock.agents.response.attribute.fetch.mode`   Introduced in Java Agent 5.6                                                                                              |
| Function                 | Attributes, Response                                                                                                                                                                                                                                                                                                                                 |
| Supported settings       | - NONE

  No AM attributes are mapped.

- HTTP_HEADER

  The named AM attributes are mapped to headers in the outgoing HTTP response.

- REQUEST_ATTRIBUTE

  The named AM attributes are mapped to request attributes in the outgoing HTTP response.

- HTTP_COOKIE

  The named AM attributes are mapped to cookies in the outgoing HTTP response. |
| Default                  | `NONE`                                                                                                                                                                                                                                                                                                                                               |
| Bootstrap property       | No                                                                                                                                                                                                                                                                                                                                                   |
| Required property        | No                                                                                                                                                                                                                                                                                                                                                   |
| Restart required         | No                                                                                                                                                                                                                                                                                                                                                   |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                                                                                                                                                                                             |
| AM console               | Tab: `Application`Title: `Response Attribute Fetch Mode`                                                                                                                                                                                                                                                                                             |
