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 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

      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.
       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

      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.
       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

      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.