HTTP Request.

Hierarchy

  • ScriptRequest

Properties

acceptableMediaTypes: string
attributeNames: any[]
bodyAsString: string

Get the body of this Request. If this request does not have a body, return the empty String.

clientCertificate: null | ScriptCertificate
clientIpAddress: string
formParameterNames: any[]
method: string
parameterNames: any[]
parsedBodyAsJson: null | object

Get the body of this Request in JSON format. If the request doesn't contain a valid JSON body returns null

path: null | string
queryParameterNames: any[]
queryString: null | string
scheme: string
url: string

Methods

  • Returns string

  • Parameters

    • name: null | string

    Returns any

  • Returns any[]

  • Get the body of this Request. If this request does not have a body, return the empty String.

    Returns string

  • Returns string

  • Parameters

    • name: string

    Returns null | string

  • Parameters

    • name: string

    Returns null | string

  • Parameters

    • formParameterName: null | string

    Returns null | string

  • Returns any[]

  • Get form parameter value of error if the parameter has more than one value.

    Parameters

    • parameterName: null | string

    Returns null | string

  • Get form parameter value of error if the parameter has more than one value.

    Parameters

    • formParameterName: null | string
    • exceptionSupplier: any

    Returns null | string

  • Parameters

    • formParameterName: null | string

    Returns any[]

  • Parameters

    • headerName: null | string

    Returns null | string

  • Parameters

    • headerName: null | string

    Returns any[]

  • Returns string

  • Parameters

    • parameterName: null | string

    Returns null | string

  • Returns any[]

  • Get form parameter value of error if the parameter has more than one value.

    Parameters

    • parameterName: null | string

    Returns null | string

  • Get form parameter value of error if the parameter has more than one value.

    Parameters

    • parameterName: null | string
    • exceptionSupplier: any

    Returns null | string

  • Parameters

    • parameterName: null | string

    Returns any[]

  • Get the body of this Request in JSON format. If the request doesn't contain a valid JSON body returns null

    Returns null | object

  • Returns null | string

  • Parameters

    • queryParameterName: null | string

    Returns null | string

  • Returns any[]

  • Parameters

    • queryParameterName: null | string

    Returns any[]

  • Returns null | string

  • Returns string

  • Parameters

    • name: string

    Returns null | string

  • Returns string

  • Returns boolean

  • Returns boolean