Interface QueryParams

    • Method Detail

      • getValue

        <V> V getValue​(String key)
        Gets the parameter for the given key.
        Parameters:
        key - the parameter key.
        Returns:
        the object value.
      • getString

        String getString​(String key)
        Gets the parameter as string for the given key.
        Parameters:
        key - the parameter key.
        Returns:
        the string value.
      • getLong

        Long getLong​(String key)
        Gets the parameter as long for the given key.
        Parameters:
        key - the parameter key.
        Returns:
        the long value.
      • contains

        boolean contains​(String key)
        Checks whether this QueryParams contains the given key param.
        Parameters:
        key - the key params.
        Returns:
        true if this QueryParams contains the given key.
      • getAsMap

        Map<String,​Object> getAsMap()
        Gets all query params as Map.
        Returns:
        a new Map.