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 Link icon

    • UriQueryParameter Link icon

      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 Link icon

    • finalize Link icon

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

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

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

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

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

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

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