Interface ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractorOrBuilder

    • Method Detail

      • getName

        String getName()
         The name of the header field to extract the value from.
         .. note::
           If the header appears multiple times only the first value is used.
         
        string name = 1 [(.validate.rules) = { ... }
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the header field to extract the value from.
         .. note::
           If the header appears multiple times only the first value is used.
         
        string name = 1 [(.validate.rules) = { ... }
      • getElementSeparator

        String getElementSeparator()
         The element separator (e.g., ';' separates 'a;b;c;d').
         Default: empty string. This causes the entirety of the header field to be extracted.
         If this field is set to an empty string and 'index' is used in the oneof below, 'index'
         must be set to 0.
         
        string element_separator = 2;
      • getElementSeparatorBytes

        com.google.protobuf.ByteString getElementSeparatorBytes()
         The element separator (e.g., ';' separates 'a;b;c;d').
         Default: empty string. This causes the entirety of the header field to be extracted.
         If this field is set to an empty string and 'index' is used in the oneof below, 'index'
         must be set to 0.
         
        string element_separator = 2;
      • getIndex

        int getIndex()
         Specifies the zero based index of the element to extract.
         Note Envoy concatenates multiple values of the same header key into a comma separated
         string, the splitting always happens after the concatenation.
         
        uint32 index = 3;
      • hasElement

        boolean hasElement()
         Specifies the key value pair to extract the value from.
         
        .envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement element = 4;