Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace HttpHeaderRule

An object that represents the advance http header options that allow the setting of http header size and allow/disallow invalid characters in the http headers. For example httpLargeHeaderSizeInKB=32, the http header could have 4 buffers of 32KBs each This rule applies only to HTTP listeners. No more than one {@code HttpHeaderRule} object can be present in a given listener.

Properties

Const action

action: string = "HTTP_HEADER"

Optional areInvalidCharactersAllowed

areInvalidCharactersAllowed: undefined | false | true

Indicates whether or not invalid characters in client header fields will be allowed. Valid names are composed of English letters, digits, hyphens and underscores. If "true", invalid characters are allowed in the HTTP header. If "false", invalid characters are not allowed in the HTTP header

Optional httpLargeHeaderSizeInKB

httpLargeHeaderSizeInKB: undefined | number

The maximum size of each buffer used for reading http client request header. This value indicates the maximum size allowed for each buffer. The allowed values for buffer size are 8, 16, 32 and 64. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Methods

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Rule): object

getJsonObj

  • getJsonObj(obj: Rule): object