Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
typeflat
separatorpipe
printablefalse

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 version 2

Status
colourBlue
titleFrom v2.0.0

Supported Keys

The following are the list List of keys which that this supplier will return returns a value for.

Key

Content Types

Return Type

Description

parameters

Map

Returns a map of parameter values

. Parameters

  • parameters come from either the query string or submitted form values

.
Info

The 'key'

will be 

is Text and the value

will be

is a list of Text values.

headers

Map

Returns a map of header values

. Headers

  • headers are sent from the browser being used to access the page

.
Info

The 'key'

will be 

is Text and the 'value'

will be

is a list of Text items.

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.

Info

Usually

'

HTTP/1.1

'

.

query

Text

The query string portion of the URL.

Info

This is the part after the '?' character.

remote address

Text

The IP address of the client's computer.

remote host

Text

The name of the client's computer.

Info

May simply be the IP if no name resolution can be made.

request url

Text

The part of the URL after the context path and before the query string.

scheme

Text

The protocol scheme.

e.g.:

For example

  • 'http' or 'https'

.

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=

5966392

479036223

remote address

10.192.40.118

remote host

10.192.40.118

request url

/exportword

scheme

https

server name

docs

appfire.

servicerocket

atlassian.

com

net

server port

443

is secure

false