Interface ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractorOrBuilder

    • Method Detail

      • getName

        java.lang.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) = { ... }
        Returns:
        The name.
      • 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) = { ... }
        Returns:
        The bytes for name.
      • getElementSeparator

        java.lang.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;
        Returns:
        The elementSeparator.
      • 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;
        Returns:
        The bytes for elementSeparator.
      • hasIndex

        boolean hasIndex()
         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;
        Returns:
        Whether the index field is set.
      • 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;
        Returns:
        The index.
      • hasElement

        boolean hasElement()
         Specifies the key value pair to extract the value from.
         
        .envoy.extensions.filters.network.http_connection_manager.v3.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement element = 4;
        Returns:
        Whether the element field is set.