---
title: URI
description: Represents a Uniform Resource Identifier (URI) reference.
component: pinggateway
version: 2026
page_id: pinggateway:reference:URI
canonical_url: https://docs.pingidentity.com/pinggateway/2026/reference/URI.html
revdate: 2025-06-02T18:01:47Z
section_ids:
  URI-properties: Properties
  URI-moreinfo: More information
---

# URI

Represents a Uniform Resource Identifier (URI) reference.

## Properties

* `"scheme"`: *[string](preface.html#definition-string)*

  The scheme component of the URI, or `null` if the scheme is undefined.

* `"authority"`: *[string](preface.html#definition-string)*

  The decoded authority component of the URI, or `null` if the authority is undefined.

  Use "rawAuthority" to access the raw (encoded) component.

* `"userInfo"`: *[string](preface.html#definition-string)*

  The decoded user-information component of the URI, or `null` if the user information is undefined.

  Use "rawUserInfo" to access the raw (encoded) component.

* `"host"`: *[string](preface.html#definition-string)*

  The host component of the URI, or `null` if the host is undefined.

* `"port"`: *[number](preface.html#definition-number)*

  The port component of the URI, or `null` if the port is undefined.

* `"path"`: *[string](preface.html#definition-string)*

  The decoded path component of the URI, or `null` if the path is undefined.

  Use "rawPath" to access the raw (encoded) component.

* `"query"`: *[string](preface.html#definition-string)*

  The decoded query component of the URI, or `null` if the query is undefined.

  |   |                                                                                                                                                                                         |
  | - | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  |   | The query key and value is decoded. However, because a query value can be encoded more than once in a redirect chain, even though it is decoded it can contain unsafe ASCII characters. |

  Use "rawQuery" to access the raw (encoded) component.

* `"fragment"`: *[string](preface.html#definition-string)*

  The decoded fragment component of the URI, or `null` if the fragment is undefined.

  Use "rawFragment" to access the raw (encoded) component.

## More information

[org.forgerock.http.MutableUri](../_attachments/apidocs/org/forgerock/http/MutableUri.html)
