UNPKG

@regionorebrolan/extensions

Version:
42 lines (41 loc) 1.36 kB
/// <reference types="urijs" /> import IQueryCollection from "./Collections/IQueryCollection"; import IQueryCollectionFactory from "./Collections/IQueryCollectionFactory"; import IUri from "./IUri"; import IUriBuilder from "./IUriBuilder"; export default class UriBuilder implements IUriBuilder { private _fragment; private _host; private _modified; private _password; private _path; private _port; private _query; private _scheme; private _uri; private _userName; private _validationInstance; constructor(queryCollectionFactory: IQueryCollectionFactory, uri?: string | IUri); get fragment(): string; set fragment(value: string); get host(): string; set host(value: string); protected get modified(): boolean; protected set modified(value: boolean); get password(): string; set password(value: string); get path(): string; set path(value: string); get port(): number | null; set port(value: number | null); get query(): IQueryCollection; get scheme(): string; set scheme(value: string); get uri(): IUri; get userName(): string; set userName(value: string); protected get validationInstance(): uri.URI; protected createUri(): IUri; protected onQueryChanged(): void; toString(): string; }