cfboom.http.client

Class SimpleBufferingClientHttpRequest

lucee.Component
    extended by cfboom.lang.Object
      extended by cfboom.http.client.AbstractClientHttpRequest
        extended by cfboom.http.client.AbstractBufferingClientHttpRequest
          extended by cfboom.http.client.SimpleBufferingClientHttpRequest
All Implemented Interfaces:
ClientHttpRequest
Class Attributes:
  • output : false
  •  
  • displayname : Class SimpleBufferingClientHttpRequest
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any HttpMethod


    • access = public
    • returntype = any
    • inject = HttpMethod@cfboom-http
    true false
    Constructor Summary
    init(any connection, [boolean outputStreaming='false'])
    Method Summary
    void addHeaders(any connection, [HttpHeaders headers])
         Add the given headers to the given HTTP connection.
    ClientHttpResponse doExecuteInternal([HttpHeaders headers], [any bufferedOutput])
    any getMethod()
    string getMethodValue()
    any getURI()
     
    Methods inherited from class cfboom.http.client.AbstractBufferingClientHttpRequest
    executeInternal, getBodyInternal
     
    Methods inherited from class cfboom.http.client.AbstractClientHttpRequest
    assertNotExecuted, execute, getBody, getHeaders
     
    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(any connection, [boolean outputStreaming='false'])

    Parameters:
    connection - java.net.HttpURLConnection
    outputStreaming

    Property Detail

    HttpMethod

    property any HttpMethod

    Attributes:
    access - public
    required - false
    returntype - any
    inject - HttpMethod@cfboom-http
    serializable - true

    Method Detail

    addHeaders

    public void addHeaders(any connection, [HttpHeaders headers])

    Add the given headers to the given HTTP connection.

    Parameters:
    connection
    headers

    doExecuteInternal

    public ClientHttpResponse doExecuteInternal([HttpHeaders headers], [any bufferedOutput])

    Overrides:
    doExecuteInternal in class AbstractBufferingClientHttpRequest
    Parameters:
    headers
    bufferedOutput

    getMethod

    public any getMethod()


    getMethodValue

    public string getMethodValue()


    getURI

    public any getURI()