Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpQueryParam<T, K, V>

Type parameters

  • T: object

  • K

  • V

Hierarchy

Index

Constructors

constructor

Properties

Private _rawQueryString

_rawQueryString: string

options

Readonly size

size: number

Accessors

rawQueryString

  • get rawQueryString(): string
  • set rawQueryString(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

Methods

clear

  • clear(): void
  • Returns void

delete

  • delete(key: K): boolean
  • Parameters

    • key: K

    Returns boolean

forEach

  • forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void
  • Parameters

    • callbackfn: (value: V, key: K, map: Map<K, V>) => void
        • (value: V, key: K, map: Map<K, V>): void
        • Parameters

          • value: V
          • key: K
          • map: Map<K, V>

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get<K>(key: K): T[K]
  • Type parameters

    • K: keyof T

    Parameters

    • key: K

    Returns T[K]

has

  • has(key: K): boolean
  • Parameters

    • key: K

    Returns boolean

set

  • set<K, V>(key: K, value: V): this
  • Type parameters

    • K: keyof T

    • V: T[K]

    Parameters

    • key: K
    • value: V

    Returns this

stringify

  • stringify(space?: number): string
  • Parameters

    • Default value space: number = 0

    Returns string

toJSONObject

toQueryString

Static createParseOption

Static createStringifyOption

Static parse

Static stringify

  • stringify<T, O>(httpQueryParam: HttpQueryParam<T>, httpQueryParamStringifyOption?: O): string
  • Type parameters

    Parameters

    • httpQueryParam: HttpQueryParam<T>
    • Optional httpQueryParamStringifyOption: O

    Returns string

Static toJSONObject

  • toJSONObject<T, O>(objectedMap: O): JSONObject<T>

Generated using TypeDoc