Show / Hide Table of Contents

Class FilterHeaderPolicy

Filter HTTP headers as they pass through the gateway. The gateway applies filters after other transformations, so any headers set or renamed must also be listed here when using an ALLOW type policy.

Inheritance
object
FilterHeaderPolicy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class FilterHeaderPolicy

Properties

Items

Declaration
[Required(ErrorMessage = "Items is required.")]
[JsonProperty(PropertyName = "items")]
public List<FilterHeaderPolicyItem> Items { get; set; }
Property Value
Type Description
List<FilterHeaderPolicyItem>

The list of headers.

Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public FilterHeaderPolicy.TypeEnum? Type { get; set; }
Property Value
Type Description
FilterHeaderPolicy.TypeEnum?

BLOCK drops any headers that are in the list of items, so it acts as an exclusion list. ALLOW permits only the headers in the list and removes all others, so it acts as an inclusion list.

Remarks

Required

In this article
Back to top