Interface EnvelopeSessionState.HeaderOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EnvelopeSessionState.Header, EnvelopeSessionState.Header.Builder
Enclosing class:
EnvelopeSessionState

public static interface EnvelopeSessionState.HeaderOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Iff the header specified by the ``name`` field is present in the response (assume the ``name`` is set to ``session-header`` and original header value is ``xxxxxx``), then the upstream host address and value of ``name`` field specified header will be encoded in following format and the output will be used to update the ``name`` field specified header in the response: .. code-block:: none session-header: "MS4yLjMuNDo4MAo=;UV:eHh4eHh4Cg==" # base64(1.2.3.4:80);UV:base64(xxxxxx) The ``UV`` (upstream value) part is used to store the original upstream header value of ``name`` field specified header.
    com.google.protobuf.ByteString
    Iff the header specified by the ``name`` field is present in the response (assume the ``name`` is set to ``session-header`` and original header value is ``xxxxxx``), then the upstream host address and value of ``name`` field specified header will be encoded in following format and the output will be used to update the ``name`` field specified header in the response: .. code-block:: none session-header: "MS4yLjMuNDo4MAo=;UV:eHh4eHh4Cg==" # base64(1.2.3.4:80);UV:base64(xxxxxx) The ``UV`` (upstream value) part is used to store the original upstream header value of ``name`` field specified header.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Iff the header specified by the ``name`` field is present in the response (assume the ``name``
       is set to ``session-header`` and original header value is ``xxxxxx``), then the upstream host
       address and value of ``name`` field specified header will be encoded in following format and
       the output will be used to update the ``name`` field specified header in the response:
      
       .. code-block:: none
      
         session-header: "MS4yLjMuNDo4MAo=;UV:eHh4eHh4Cg==" # base64(1.2.3.4:80);UV:base64(xxxxxx)
      
       The ``UV`` (upstream value) part is used to store the original upstream header value of
       ``name`` field specified header.
      
       If this mode is used then Envoy will assume that the header in the request will also be in the
       same format and will contain the ``UV`` part. This extension will parse the upstream host
       address and update the ``name`` field specified header in the request to the ``UV`` part.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Iff the header specified by the ``name`` field is present in the response (assume the ``name``
       is set to ``session-header`` and original header value is ``xxxxxx``), then the upstream host
       address and value of ``name`` field specified header will be encoded in following format and
       the output will be used to update the ``name`` field specified header in the response:
      
       .. code-block:: none
      
         session-header: "MS4yLjMuNDo4MAo=;UV:eHh4eHh4Cg==" # base64(1.2.3.4:80);UV:base64(xxxxxx)
      
       The ``UV`` (upstream value) part is used to store the original upstream header value of
       ``name`` field specified header.
      
       If this mode is used then Envoy will assume that the header in the request will also be in the
       same format and will contain the ``UV`` part. This extension will parse the upstream host
       address and update the ``name`` field specified header in the request to the ``UV`` part.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for name.