net.liftweb.util

HttpHelpers

trait HttpHelpers extends AnyRef

Self Type
HttpHelpers with ListHelpers with StringHelpers
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpHelpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def appendFuncToURL(url: String, funcStr: String): String

    Given a URL and a Lift function String, append the function even if the URL has query params and a #

  7. def appendParams(url: String, params: Seq[(String, String)]): String

    Append parameters to a URL

    Append parameters to a URL

    url

    the url to append the params to

    params

    the parameters (name/value) to append to the URL

    returns

    the url with the parameters appended

  8. def appendQueryParameters(url: String, params: List[(String, String)]): String

    Given a list of query parameters, append them to the URL taking into account # and if there are any other query parameters

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def couldBeHtml(in: Map[String, String]): Boolean

    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"

    in

    Map which may contain a key named Content-Type

    returns

    true if there is a pair ("Content-Type", "text/html") or ("Content-Type", "application/xhtml+xml")

  12. def deepFindKids(in: NodeSeq, prefix: String, label: String): NodeSeq

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def evalElemWithId(f: (String, Elem) ⇒ NodeSeq)(ns: NodeSeq): NodeSeq

    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

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def findElems(nodes: NodeSeq)(f: (Elem) ⇒ Boolean): 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.

    nodes

    - the NodeSeq to search for elements matching the predicate

    f

    - the predicate to match elements with

    returns

    the NodeSeq resulting from concatenation of the matched elements.

  18. def findInElems[T](nodes: NodeSeq)(f: (Elem) ⇒ Iterable[T]): List[T]

    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.

  19. def findKids(in: NodeSeq, prefix: String, label: String): NodeSeq

  20. def findOrAddId(in: Elem): (Elem, String)

    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

    in

    the element to test & add 'id' to

    returns

    the new element and the id

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def insureField(toInsure: List[(String, String)], headers: List[(String, String)]): List[(String, String)]

    Ensure that all the appropriate fields are in the header.

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. val knownSuffixes: Set[String]

    The list of known suffixes used to split the URI into path parts and suffixes.

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def nextFuncName(seed: Long): String

    Get a guaranteed unique field name (16 or 17 letters and numbers, starting with a letter)

  28. def nextFuncName: String

    Get a guaranteed unique field name (16 or 17 letters and numbers, starting with a letter)

  29. def nextNum: Long

    Get a monotonically increasing number that's guaranteed to be unique for the current session

  30. def noHtmlTag(in: NodeSeq): Boolean

    Return true if the xml doesn't contain an <html> tag

  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. implicit def pairToUnprefixed(in: (String, Any)): MetaData

    Transform a pair (name: String, value: Any) to an unprefixed XML attribute name="value"

  34. def paramsToUrlParams(params: List[(String, String)]): String

    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

    params

    the name/value pairs

    returns

    a valid query string

  35. def splitAtHash(str: String)(f: (String) ⇒ String): String

    Split a String at the Hash sign, run the function on the non-# side and then append the hash side

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toHashMap[A, B](in: Map[A, B]): HashMap[A, B]

    Transform a general Map to a nutable HashMap

  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def urlDecode(in: String): String

    URL decode the string.

    URL decode the string.

    This is a pass-through to Java's URL decode with UTF-8

  40. def urlEncode(in: String): String

    URL encode the string.

    URL encode the string.

    This is a pass-through to Java's URL encode with UTF-8

  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped