Options
All
  • Public
  • Public/Protected
  • All
Menu

Module AddHttpRequestHeaderRule

An object that represents the action of adding a header to a request. This rule applies only to HTTP listeners.

*NOTES:**

If a matching header already exists in the request, the system removes all of its occurrences, and then adds the new header.

The system does not distinquish between underscore and dash characters in headers. That is, it treats `example_header_name` and `example-header-name` as identical. Oracle recommends that you do not rely on underscore or dash characters to uniquely distinguish header names.

Properties

Methods

Properties

Const action

action: string = "ADD_HTTP_REQUEST_HEADER"

header

header: string

A header name that conforms to RFC 7230.

Example: `example_header_name`

value

value: string

A header value that conforms to RFC 7230.

Example: `example_value`

Methods

getJsonObj

  • getJsonObj(obj: Rule): object