trait QueryString extends Object
Query String Type Definition
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- QueryString
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def escape(str: String): String
The querystring.escape() method performs URL percent-encoding on the given str in a manner that is optimized for the specific requirements of URL query strings.
The querystring.escape() method performs URL percent-encoding on the given str in a manner that is optimized for the specific requirements of URL query strings.
The querystring.escape() method is used by querystring.stringify() and is generally not expected to be used directly. It is exported primarily to allow application code to provide a replacement percent-encoding implementation if necessary by assigning querystring.escape to an alternative function.
- str
the given string to escape
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parse(str: String): Dictionary[String]
- def parse(str: String, sep: String): Dictionary[String]
- def parse(str: String, sep: String, eq: String): Dictionary[String]
- def parse(str: String, sep: String, eq: String, options: QueryDecodeOptions): Dictionary[String]
The querystring.parse() method parses a URL query string (str) into a collection of key and value pairs.
The querystring.parse() method parses a URL query string (str) into a collection of key and value pairs.
- str
The URL query string to parse
- sep
The substring used to delimit key and value pairs in the query string. Defaults to '&'.
- eq
The substring used to delimit keys and values in the query string. Defaults to '='.
- options
The given options
- returns
a mapping of the key-value pairs
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def stringify(obj: Any): String
- def stringify(obj: Any, sep: String): String
- def stringify(obj: Any, sep: String, eq: String): String
- def stringify(obj: Any, sep: String, eq: String, options: QueryEncodeOptions): String
The querystring.stringify() method produces a URL query string from a given obj by iterating through the object's "own properties".
The querystring.stringify() method produces a URL query string from a given obj by iterating through the object's "own properties".
- obj
The object to serialize into a URL query string
- sep
The substring used to delimit key and value pairs in the query string. Defaults to '&'.
- eq
The substring used to delimit keys and values in the query string. Defaults to '='.
- options
The given options
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unescape(str: String): String
The querystring.unescape() method performs decoding of URL percent-encoded characters on the given str.
The querystring.unescape() method performs decoding of URL percent-encoded characters on the given str.
The querystring.unescape() method is used by querystring.parse() and is generally not expected to be used directly. It is exported primarily to allow application code to provide a replacement decoding implementation if necessary by assigning querystring.unescape to an alternative function.
By default, the querystring.unescape() method will attempt to use the JavaScript built-in decodeURIComponent() method to decode. If that fails, a safer equivalent that does not throw on malformed URLs will be used.
- str
the given string to unescape
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()