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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRemoveHeaders(int index)Remove these HTTP headers.com.google.protobuf.ByteStringgetRemoveHeadersBytes(int index)Remove these HTTP headers.intgetRemoveHeadersCount()Remove these HTTP headers.List<String>getRemoveHeadersList()Remove these HTTP headers.HeaderValueOptiongetSetHeaders(int index)Add or replace HTTP headers.intgetSetHeadersCount()Add or replace HTTP headers.List<HeaderValueOption>getSetHeadersList()Add or replace HTTP headers.HeaderValueOptionOrBuildergetSetHeadersOrBuilder(int index)Add or replace HTTP headers.List<? extends HeaderValueOptionOrBuilder>getSetHeadersOrBuilderList()Add or replace HTTP headers.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;
-
getSetHeaders
HeaderValueOption getSetHeaders(int index)
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.
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.
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.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;
-
getSetHeadersOrBuilder
HeaderValueOptionOrBuilder getSetHeadersOrBuilder(int index)
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.
repeated .envoy.config.core.v3.HeaderValueOption set_headers = 1;
-
getRemoveHeadersList
List<String> 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
String getRemoveHeaders(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 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.
-
-