Interface HeaderMutationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HeaderMutation,HeaderMutation.Builder
public interface HeaderMutationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetRemoveHeaders(int index) Remove these HTTP headers.com.google.protobuf.ByteStringgetRemoveHeadersBytes(int index) Remove these HTTP headers.intRemove these HTTP headers.Remove these HTTP headers.getSetHeaders(int index) Add or replace HTTP headers.intAdd or replace HTTP headers.Add or replace HTTP headers.getSetHeadersOrBuilder(int index) Add or replace HTTP headers.List<? extends HeaderValueOptionOrBuilder>Add or replace HTTP headers.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSetHeadersList
List<HeaderValueOption> getSetHeadersList()Add or replace HTTP headers. Attempts to set the value of any ``x-envoy`` header, and attempts to set the ``:method``, ``:authority``, ``:scheme``, or ``host`` headers will be ignored. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1; -
getSetHeaders
Add or replace HTTP headers. Attempts to set the value of any ``x-envoy`` header, and attempts to set the ``:method``, ``:authority``, ``:scheme``, or ``host`` headers will be ignored. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1; -
getSetHeadersCount
int getSetHeadersCount()Add or replace HTTP headers. Attempts to set the value of any ``x-envoy`` header, and attempts to set the ``:method``, ``:authority``, ``:scheme``, or ``host`` headers will be ignored. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1; -
getSetHeadersOrBuilderList
List<? extends HeaderValueOptionOrBuilder> getSetHeadersOrBuilderList()Add or replace HTTP headers. Attempts to set the value of any ``x-envoy`` header, and attempts to set the ``:method``, ``:authority``, ``:scheme``, or ``host`` headers will be ignored. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1; -
getSetHeadersOrBuilder
Add or replace HTTP headers. Attempts to set the value of any ``x-envoy`` header, and attempts to set the ``:method``, ``:authority``, ``:scheme``, or ``host`` headers will be ignored. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1; -
getRemoveHeadersList
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ``:``, plus ``host`` -- will be ignored.
repeated string remove_headers = 2;- Returns:
- A list containing the removeHeaders.
-
getRemoveHeadersCount
int getRemoveHeadersCount()Remove these HTTP headers. Attempts to remove system headers -- any header starting with ``:``, plus ``host`` -- will be ignored.
repeated string remove_headers = 2;- Returns:
- The count of removeHeaders.
-
getRemoveHeaders
Remove these HTTP headers. Attempts to remove system headers -- any header starting with ``:``, plus ``host`` -- will be ignored.
repeated string remove_headers = 2;- Parameters:
index- The index of the element to return.- Returns:
- The removeHeaders at the given index.
-
getRemoveHeadersBytes
com.google.protobuf.ByteString getRemoveHeadersBytes(int index) Remove these HTTP headers. Attempts to remove system headers -- any header starting with ``:``, plus ``host`` -- will be ignored.
repeated string remove_headers = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the removeHeaders at the given index.
-