Request
An HTTP request message. Access the content of the request by using expressions.
Properties
"method": java.lang.String-
The HTTP method; for example,
GET. "uri": java.net.URI-
The fully-qualified URI of the resource being accessed; for example,
https://www.example.com/resource.txt. "version": java.lang.String-
The protocol version used for the request; for example,
HTTP/2. "headers": org.forgerock.http.protocol.Headers-
One or more headers in the request, with the format
header_name: [ header_value, … ]. The following example accesses the first value of the request headerUserId:${request.headers['UserId'][0]} "cookies": org.forgerock.http.protocol.RequestCookies-
Incoming request cookies, with the format
cookie_name: [ cookie_value, … ]. The following example accesses the first value of the request cookiemy-jwt:${request.cookies['my-jwt'][0].value} "entity": Entity-
The message body. The following example accesses the subject token from the request entity:
#{request.entity.form['subject_token'][0]} "queryParams": Form-
Returns a copy of the query parameters decoded as a form. Modifications to the returned form aren’t reflected in the request.