getParameter.HttpRequest

0th

Percentile

Gets a parameter

Gets a parameter.

Keywords
methods, internal, IO
Usage
## S3 method for class 'HttpRequest':
getParameter(this, name, default=NULL, drop=TRUE, ...)
Arguments
name
Name of parameter to be retrieved.
default
Value to be returned if parameter is missing.
drop
If TRUE and the number of returned values is one, then this single value is returned, otherwise a named vector.
...
Not used.
Value

  • Returns the value(s) of the parameter either as a single value or as a named list. If the parameter does not exist, the default value is returned as is.

See Also

*hasParameter(). *getParameters(). For more information see HttpRequest.

Aliases
  • getParameter.HttpRequest
  • HttpRequest.getParameter
  • getParameter.HttpRequest
  • getParameter,HttpRequest-method
Documentation reproduced from package R.rsp, version 0.6.9, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.