203 lines
2.3 KiB
Plaintext
203 lines
2.3 KiB
Plaintext
|
|
p.location-badge.
|
|
exported from <a href='../http'>angular2/http</a>
|
|
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.37/modules/angular2/src/http/url_search_params.ts#L26-L140">angular2/src/http/url_search_params.ts (line 26)</a>
|
|
|
|
:markdown
|
|
Map-like representation of url search parameters, based on
|
|
[URLSearchParams](https://url.spec.whatwg.org/#urlsearchparams) in the url living standard,
|
|
with several extensions for merging URLSearchParams objects:
|
|
- setAll()
|
|
- appendAll()
|
|
- replaceAll()
|
|
|
|
|
|
.l-main-section
|
|
h2 Members
|
|
.l-sub-section
|
|
h3#constructor constructor
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
constructor(rawParams?: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#paramsMap paramsMap
|
|
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#rawParams rawParams
|
|
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#clone clone
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
clone()
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#has has
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
has(param: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#get get
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
get(param: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#getAll getAll
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
getAll(param: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#set set
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
set(param: string, val: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#setAll setAll
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
setAll(searchParams: URLSearchParams)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#append append
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
append(param: string, val: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#appendAll appendAll
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
appendAll(searchParams: URLSearchParams)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#replaceAll replaceAll
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
replaceAll(searchParams: URLSearchParams)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#toString toString
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
toString()
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3#delete delete
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
delete(param: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|