HttpRouteRuleActionRequestHeaderModifier

data class HttpRouteRuleActionRequestHeaderModifier(val add: Map<String, String>? = null, val removes: List<String>? = null, val set: Map<String, String>? = null)

Constructors

Link copied to clipboard
constructor(add: Map<String, String>? = null, removes: List<String>? = null, set: Map<String, String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val add: Map<String, String>? = null

Add the headers with given map where key is the name of the header, value is the value of the header.

Link copied to clipboard
val removes: List<String>? = null

Remove headers (matching by header names) specified in the list.

Link copied to clipboard
val set: Map<String, String>? = null

Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.