Given a URL and a Lift function String, append the function even if the URL has query params and a #
Append parameters to a URL
Append parameters to a URL
the url to append the params to
the parameters (name/value) to append to the URL
the url with the parameters appended
Given a list of query parameters, append them to the URL taking into account # and if there are any other query parameters
Given a map of HTTP properties, return true if the "Content-type" value in the map is either "text/html" or "application/xhtml+xml"
Given a map of HTTP properties, return true if the "Content-type" value in the map is either "text/html" or "application/xhtml+xml"
Map which may contain a key named Content-Type
true if there is a pair ("Content-Type", "text/html") or ("Content-Type", "application/xhtml+xml")
Within a NodeSeq, find the first elem and run it through the function.
Within a NodeSeq, find the first elem and run it through the function. Return the resulting NodeSeq
Find the elements of the specified NodeSeq that match the specified predicate and concatenate them into a resulting NodeSeq.
Find the elements of the specified NodeSeq that match the specified predicate and concatenate them into a resulting NodeSeq.
- the NodeSeq to search for elements matching the predicate
- the predicate to match elements with
the NodeSeq resulting from concatenation of the matched elements.
Map the specified function over the elements of the specified NodeSeq and return the concatenated result.
Map the specified function over the elements of the specified NodeSeq and return the concatenated result. This is essentially a container-type-transforming flatMap operation.
If the specified Elem has an attribute named 'id', return it, otherwise construct a new Elem with a randomly generated id attribute and return the pair
If the specified Elem has an attribute named 'id', return it, otherwise construct a new Elem with a randomly generated id attribute and return the pair
the element to test & add 'id' to
the new element and the id
Ensure that all the appropriate fields are in the header.
The list of known suffixes used to split the URI into path parts and suffixes.
Get a guaranteed unique field name (16 or 17 letters and numbers, starting with a letter)
Get a guaranteed unique field name (16 or 17 letters and numbers, starting with a letter)
Get a monotonically increasing number that's guaranteed to be unique for the current session
Return true if the xml doesn't contain an <html> tag
Transform a pair (name: String, value: Any) to an unprefixed XML attribute name="value"
Take a list of name/value parse and turn them into a URL query string
Take a list of name/value parse and turn them into a URL query string
the name/value pairs
a valid query string
Split a String at the Hash sign, run the function on the non-# side and then append the hash side
Transform a general Map to a nutable HashMap
URL decode the string.
URL decode the string.
This is a pass-through to Java's URL decode with UTF-8
URL encode the string.
URL encode the string.
This is a pass-through to Java's URL encode with UTF-8