Interface UriComponents.UriTemplateVariables

    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static ObjectSKIP_VALUE
      Constant for a value that indicates a URI variable name should be ignored and left as is.
    • Field Detail

      • SKIP_VALUE

        static final Object SKIP_VALUE
        Constant for a value that indicates a URI variable name should be ignored and left as is. This is useful for partial expanding of some but not all URI variables.
    • Method Detail

      • getValue

        @Nullable
        Object getValue​(@Nullable
                        String name)
        Get the value for the given URI variable name. If the value is null, an empty String is expanded. If the value is SKIP_VALUE, the URI variable is not expanded.
        Parameters:
        name - the variable name
        Returns:
        the variable value, possibly null or SKIP_VALUE