Request parameters provider.

Hierarchy

Properties

parameterNames: any[]

Get the name of all request parameters.

Methods

  • Get the value of a specific request parameter.

    Parameters

    • parameterName: null | string

    Returns null | string

  • Get the name of all request parameters.

    Returns any[]

  • Get the value for a parameter. The parameter may be provided in the query string or in the form body (in case this is a form POST request). If more than one value is found for this parameter, the error provided by the exceptionSupplier is thrown. If no value is found, null is returned.

    Parameters

    • parameterName: null | string

    Returns null | string

  • Get the value for a parameter. The parameter may be provided in the query string or in the form body (in case this is a form POST request). If more than one value is found for this parameter, the error provided by the exceptionSupplier is thrown. If no value is found, null is returned.

    Parameters

    • parameterName: null | string
    • exceptionSupplier: any

    Returns null | string

  • Get the values for a request parameter.

    Parameters

    • parameterName: null | string

    Returns any[]