HTTP Params

Get

Get a single parameter of the service:

crudService.getParam(name : string) : string

Get the parameters instance of the service:

crudService.getParams() : HttpParams

Get values for a single parameter of the service:

crudService.getParamArray(name : string) : string[]

Set

Set a single parameter of the service:

crudService.setParam(name : string, value : string) : this

Set the parameters instance of the service:

crudService.setParams(params : HttpParams) : this

Set values for a single parameter of the service:

crudService.setParamArray(name : string, valueArray : string[]) : this

Append

Append a single parameter to the service:

crudService.appendParam(name : string, value : string) : this

Append values to a single parameter of the service:

crudService.appendParamArray(name : string, valueArray : string) : this

Clear

Clear a single parameter of the service:

crudService.clearParam(name : string) : this

Clear the parameters instance of the service:

crudService.clearParams() : this

Last updated