wirebox.system.core.util

Class RequestBuffer

lucee.Component
    extended by wirebox.system.core.util.RequestBuffer

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- A buffer object that lives in the request scope. It switches its implementation depending on the JDK its running on.

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any append(any str)
         Append to the buffer.
    any clear()
         Clear the buffer.
    any getBufferObject()
         Get or construct the request buffer object.
    any getString()
         Get buffer string content.
    boolean isBufferInScope()
         Checks if the buffer has been created or not.
    numeric length()
         Get buffer length.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Method Detail

    append

    public any append(any str)

    Append to the buffer

    Parameters:
    str - The string to append
    Returns:
    RequestBuffer

    clear

    public any clear()

    Clear the buffer

    Returns:
    RequestBuffer

    getBufferObject

    public any getBufferObject()

    Get or construct the request buffer object.


    getString

    public any getString()

    Get buffer string content


    isBufferInScope

    public boolean isBufferInScope()

    Checks if the buffer has been created or not


    length

    public numeric length()

    Get buffer length