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, from version 2.0.0

Supported Keys

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

Key

Content Types

Return Type

Description

parameters

 

Returns a map of parameter values. Parameters come from either the query string or submitted form values. The 'key' will be Text and the value will be a list of Text values.

headers

 

Returns a map of header values. Headers are sent from the browser being used to access the page. The 'key' will be Text and the 'value' will be a list of Text items.

context path

 

The part of the URL path which is after the server and before the root of the Confluence application.

protocol

 

The name of the protocol being used. Usually 'HTTP/1.1'.

query

 

The query string portion of the URL. This is the part after the '?' character.

remote address

 

The IP address of the client's computer.

remote host

 

The name of the client's computer. May simply be the IP if no name resolution can be made.

request url

 

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

scheme

 

The protocol scheme. e.g.: 'http' or 'https'.

server name

 

The name of the server from the request URL.

server port

 

The port number of the server.

is secure

 

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

remote address

127.0.0.101

remote host

127.0.0.101

request url

/suppliers/list-of-suppliers/request-supplier

scheme

https

server name

docs.servicerocket.com

server port

443

is secure

false