relax

Class Relaxer

lucee.Component
    extended by relax.Relaxer

Copyright Ortus Solutions, Corp, All rights reserved www.ortussolutions.com --- The Relaxer service

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any DSLService


    • access = public
    • returntype = any
    • inject = DSLService@relax
    true false
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any clearHistory()
         Clear the history stack.
    string getDSLService()
    array getHistory()
         Get the relaxer history array.
    string getLog()
    numeric getMaxHistory()
         Get the max history stack, this comes from the relax settings.
    any pushHistory(any values)
         Clear the history stack.
    any send([any httpMethod='GET'], [any httpResource=''], [any httpFormat=''], [any headerNames=''], [any headerValues=''], [any parameterNames=''], [any parameterValues=''], [any username=''], [any password=''], [any httpProxy=''], [any httpProxyPort=''])
         Send a Relaxer Request.
    any setDSLService(any DSLService)
    any setLog(any log)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    DSLService

    property any DSLService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - DSLService@relax
    serializable - true

    log

    property any log

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:{this}
    serializable - true

    Method Detail

    clearHistory

    public any clearHistory()

    Clear the history stack

    Returns:
    Relaxer

    getDSLService

    public string getDSLService()


    getHistory

    public array getHistory()

    Get the relaxer history array


    getLog

    public string getLog()


    getMaxHistory

    public numeric getMaxHistory()

    Get the max history stack, this comes from the relax settings


    pushHistory

    public any pushHistory(any values)

    Clear the history stack

    Parameters:
    values
    Returns:
    Relaxer

    send

    public any send([any httpMethod='GET'], [any httpResource=''], [any httpFormat=''], [any headerNames=''], [any headerValues=''], [any parameterNames=''], [any parameterValues=''], [any username=''], [any password=''], [any httpProxy=''], [any httpProxyPort=''])

    Send a Relaxer Request

    Parameters:
    httpMethod - HTTP Method
    httpResource - HTTP Resource to hit
    httpFormat - HTTP Format extension if used.
    headerNames - HTTP header names (list)
    headerValues - HTTP header values (list)
    parameterNames - HTTP parameters names (list)
    parameterValues - HTTP parameters values (list)
    username - HTTP Basic Auth Username
    password - HTTP Basic Auth password
    httpProxy - HTTP Proxy server host
    httpProxyPort - HTTP Proxy server host port

    setDSLService

    public any setDSLService(any DSLService)

    Parameters:
    DSLService

    setLog

    public any setLog(any log)

    Parameters:
    log