cbstripe

Class APIResponse

lucee.Component
    extended by cbstripe.APIResponse
Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any body


    • access = public
    • returntype = any
    true false
    any data


    • access = public
    • returntype = any
    true false
    any headers


    • access = public
    • returntype = any
    true false
    any statusCode


    • access = public
    • returntype = any
    true false
    Method Summary
    string getBody()
    string getData()
    string getHeaders()
    string getStatusCode()
    any setBody(any body)
    any setData(any data)
    any setHeaders(any headers)
    any setStatusCode(any statusCode)
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    body

    property any body

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    data

    property any data

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    headers

    property any headers

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    statusCode

    property any statusCode

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    getBody

    public string getBody()


    getData

    public string getData()


    getHeaders

    public string getHeaders()


    getStatusCode

    public string getStatusCode()


    setBody

    public any setBody(any body)

    Parameters:
    body

    setData

    public any setData(any data)

    Parameters:
    data

    setHeaders

    public any setHeaders(any headers)

    Parameters:
    headers

    setStatusCode

    public any setStatusCode(any statusCode)

    Parameters:
    statusCode