Request Supplier
Overview
Provides access to the headers and parameters passed in the HTTP request for the current context.
Details
Name: | Request Supplier |
---|---|
Prefix: | request |
Supported Content: | Anything |
Provided By: | Reporting for Confluence From v2.0.0 |
Supported Keys
List of keys that this supplier returns a value for.
Key | Content Types | Return Type | Description |
---|---|---|---|
parameters | Â | Map | Returns a map of parameter values
|
headers | Â | Map | Returns a map of header values
|
context path | Â | Text | The part of the URL path which is after the server and before the root of the Confluence application. |
protocol | Â | Text | The name of the protocol being used. Usually HTTP/1.1. |
query | Â | Text | The query string portion of the URL. |
remote address | Â | Text | The IP address of the client's computer. |
remote host | Â | Text | The name of the client's computer. |
request url | Â | Text | The part of the URL after the context path and before the query string. |
scheme | Â | Text | The protocol scheme. For example
|
server name | Â | Text | The name of the server from the request URL. |
server port | Â | Number | The port number of the server. |
is secure | Â | Boolean | Tests if the request was made over a secure connection. |
Examples
This page outputs information from the HTTP request.
List all headers
{report-table}{local-reporter:request:headers > @all}Â {text-sort:entry:key}{local-reporter}Â {report-column:title=Key}{report-info:entry:key}{report-column}{report-column:title=Value}{report-info:entry:value}{report-column}Â {report-empty}_No entries are available._{report-empty}Â {report-table}
List all parameters
{report-table}{local-reporter:request:parameters > @all}Â {text-sort:entry:key}{local-reporter}Â {report-column:title=Key}{report-info:entry:key}{report-column}{report-column:title=Value}{report-info:entry:value}{report-column}Â {report-empty}_No entries are available._{report-empty}Â {report-table}
Other Properties
Key | Value |
---|---|
context path | Â |
protocol | HTTP/1.1 |
query | pageId=479036223 |
remote address | 10.192.40.118 |
remote host | 10.192.40.118 |
request url | /exportword |
scheme | https |
server name | |
server port | 443 |
is secure | false |