Class UriQueryParameter

java.lang.Object
com.luciad.net.UriQueryParameter
All Implemented Interfaces:
AutoCloseable

public final class UriQueryParameter extends Object implements AutoCloseable
A class representing an URI query parameter.

UriQueryParameter instances are immutable.

Since:
2023.0
  • Constructor Details

    • UriQueryParameter

      public UriQueryParameter(@NotNull String key, @NotNull String value)
      Creates an URI query parameter with the given key and value.
      Parameters:
      key - the query parameter key.
      value - the query parameter value.
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getKey

      @NotNull public String getKey()
      Returns the key of this URI query parameter.
      Returns:
      the key of this URI query parameter.
    • getValue

      @NotNull public String getValue()
      Returns the value of this URI query parameter.
      Returns:
      the value of this URI query parameter.
    • toString

      @NotNull public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object