Class Index | File Index

Classes


Class orion.urlencode

Utilities for dealing with URL and form encoding.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.core/web/orion/urlencode.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
orion.urlencode.appendQuery(url, queryString)
Returns a URL with the given queryString in its query component.
<static>  
orion.urlencode.encodeFormData(data)
Encodes an object of form fields and values as an application/x-www-form-urlencoded string.
<static>  
orion.urlencode.encodeQuery(data)
Encodes an object of key-value pairs as a string suitable for the query component of a URI.
Class Detail
orion.urlencode()
Method Detail
<static> {String} orion.urlencode.appendQuery(url, queryString)
Returns a URL with the given queryString in its query component.
Parameters:
{String} url
The URL.
{String} queryString
The query string to incorporate into url.
Returns:
{String} The URL with queryString appended to its query component.

<static> {String} orion.urlencode.encodeFormData(data)
Encodes an object of form fields and values as an application/x-www-form-urlencoded string.
Parameters:
{Object} data
The form data to encode.
Returns:
{String} The x-www-form-urlencoded string.

<static> {String} orion.urlencode.encodeQuery(data)
Encodes an object of key-value pairs as a string suitable for the query component of a URI.
Parameters:
{Object} data
The parameters to encode.
Returns:
{String} The URL-encoded string.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 23 2013 22:37:25 GMT-0500 (EST)