PingGateway 2024.9

UriRouterContext

Provides routing information associated with a request. When PingGateway routes a request, it injects information about the routing into this context.

Properties

The context is named router, and is accessible at ${contexts.router}. The context has the following properties:

"baseUri": java.lang.String

The portion of the request URI which has been routed so far.

"matchedUri": java.lang.String

The portion of the request URI that matched the URI template.

"originalUri": URI

The original target URI for the request, as received by PingGateway. The value of this field is read-only.

"remainingUri": java.lang.String

The portion of the request URI that is remaining to be matched.

"uriTemplateVariables": java.util.Map

A map with the format Map<String, String>, where:

  • Key: Name of a URI template variable

  • Value: Value of a URI template variable

Copyright © 2010-2024 ForgeRock, all rights reserved.