public static interface Config.RuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getCookie()
The cookie to be extracted.
|
com.google.protobuf.ByteString |
getCookieBytes()
The cookie to be extracted.
|
String |
getHeader()
Specifies that a match will be performed on the value of a header or a cookie.
|
com.google.protobuf.ByteString |
getHeaderBytes()
Specifies that a match will be performed on the value of a header or a cookie.
|
Config.Rule.HeaderCookieSpecifierCase |
getHeaderCookieSpecifierCase() |
Config.KeyValuePair |
getOnMissing()
If the header or cookie is not present, apply this metadata KeyValuePair.
|
Config.KeyValuePairOrBuilder |
getOnMissingOrBuilder()
If the header or cookie is not present, apply this metadata KeyValuePair.
|
Config.KeyValuePair |
getOnPresent()
If the header or cookie is present, apply this metadata KeyValuePair.
|
Config.KeyValuePairOrBuilder |
getOnPresentOrBuilder()
If the header or cookie is present, apply this metadata KeyValuePair.
|
boolean |
getRemove()
Whether or not to remove the header after a rule is applied.
|
boolean |
hasOnMissing()
If the header or cookie is not present, apply this metadata KeyValuePair.
|
boolean |
hasOnPresent()
If the header or cookie is present, apply this metadata KeyValuePair.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getHeader()
Specifies that a match will be performed on the value of a header or a cookie. The header to be extracted.
string header = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getHeaderBytes()
Specifies that a match will be performed on the value of a header or a cookie. The header to be extracted.
string header = 1 [(.validate.rules) = { ... }String getCookie()
The cookie to be extracted.
string cookie = 5 [(.validate.rules) = { ... }com.google.protobuf.ByteString getCookieBytes()
The cookie to be extracted.
string cookie = 5 [(.validate.rules) = { ... }boolean hasOnPresent()
If the header or cookie is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v4alpha.Config.KeyValuePair on_present = 2;Config.KeyValuePair getOnPresent()
If the header or cookie is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v4alpha.Config.KeyValuePair on_present = 2;Config.KeyValuePairOrBuilder getOnPresentOrBuilder()
If the header or cookie is present, apply this metadata KeyValuePair. If the value in the KeyValuePair is non-empty, it'll be used instead of the header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v4alpha.Config.KeyValuePair on_present = 2;boolean hasOnMissing()
If the header or cookie is not present, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v4alpha.Config.KeyValuePair on_missing = 3;Config.KeyValuePair getOnMissing()
If the header or cookie is not present, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v4alpha.Config.KeyValuePair on_missing = 3;Config.KeyValuePairOrBuilder getOnMissingOrBuilder()
If the header or cookie is not present, apply this metadata KeyValuePair. The value in the KeyValuePair must be set, since it'll be used in lieu of the missing header or cookie value.
.envoy.extensions.filters.http.header_to_metadata.v4alpha.Config.KeyValuePair on_missing = 3;boolean getRemove()
Whether or not to remove the header after a rule is applied. This prevents headers from leaking. This field is not supported in case of a cookie.
bool remove = 4;Config.Rule.HeaderCookieSpecifierCase getHeaderCookieSpecifierCase()
Copyright © 2018–2021 The Envoy Project. All rights reserved.