java.lang.Object
com.broadleafcommerce.data.tracking.core.interlink.UrlArgument
All Implemented Interfaces:
Argument<String>

public class UrlArgument extends Object implements Argument<String>
This argument is used for url template replacement (see InterlinkRequest.withUri(String)). UrlArgument instances are only required when using template variable substitution on the request uri. If the uri is already completely built in advance, then providing UrlArgument instances is not necessary.
  • Constructor Details

    • UrlArgument

      public UrlArgument(String name, String value)
  • Method Details

    • getName

      public String getName()
      Used to match a url template value.
    • getValue

      public String getValue()
      The replacement value for the template variable.
      Specified by:
      getValue in interface Argument<String>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object