Interface XffConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    XffConfig, XffConfig.Builder

    public interface XffConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getXffNumTrustedHops()
      The number of additional ingress proxy hops from the right side of the :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header to trust when determining the origin client's IP address.
      • 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 Detail

      • getXffNumTrustedHops

        int getXffNumTrustedHops()
         The number of additional ingress proxy hops from the right side of the
         :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header to trust when
         determining the origin client's IP address. The default is zero if this option
         is not specified. See the documentation for
         :ref:`config_http_conn_man_headers_x-forwarded-for` for more information.
         
        uint32 xff_num_trusted_hops = 1;
        Returns:
        The xffNumTrustedHops.