Klasse Query

java.lang.Object
de.srsoftware.tools.Query

public class Query extends Object
This class provides method to decode and encode URL query parameters
  • Methodendetails

    • decode

      public static Map<String,Object> decode(String query)
      Transform an encoded query string into a map
      Parameter:
      query - serialized URL-encoded data
      Gibt zurück:
      a map of the decoded data
    • encode

      public static Optional<String> encode(Map<String,?> query)
      Transform a Map to a query string
      Parameter:
      query - the data to serialize
      Gibt zurück:
      the serialized, URL-safe representation of the input data