cfboom.http.client

Class AbstractHttpClient

lucee.Component
    extended by cfboom.lang.Object
      extended by cfboom.http.client.AbstractHttpClient
All Implemented Interfaces:
HttpClient
Direct Known Subclasses:
BasicHttpClient

Abstract helper implementation of HttpClient

Class Attributes:
  • cfboom : Joel Tobey
  •  
  • output : false
  •  
  • displayname : Abstract Class AbstractHttpClient
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    Constructor Summary
    init()
    Method Summary
    HttpResponse execute([HttpRequest req])
    HttpResponse get([string uri])
    void setExecutor([HttpRequestExecutor executor])
     
    Methods inherited from class cfboom.lang.Object
    $equals, getComponentName, getIdentityHashCode, getIdentityString, getMeta, hashCode, toString
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    log

    property any log

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

    Method Detail

    execute

    public HttpResponse execute([HttpRequest req])

    Specified by:
    execute in interface HttpClient
    Parameters:
    req

    get

    public HttpResponse get([string uri])

    Parameters:
    uri

    setExecutor

    public void setExecutor([HttpRequestExecutor executor])

    Specified by:
    setExecutor in interface HttpClient
    Parameters:
    executor