ColdBox Platform Version 2.6.3

coldbox.system.util
Class RequestBuffer

WEB-INF.cftags.component
        extended by coldbox.system.util.RequestBuffer

public class RequestBuffer
extends WEB-INF.cftags.component

A buffer object that lives in the request scope. It switches its implementation depending on the JDK its running on.


Constructor Summary
init()
          Constructor
 
Method Summary
 void append(string str)
          Append to the buffer.
 void clear()
          Clear the buffer
 any getBufferObject()
          Get the raw buffer object
 any getString()
          Get the string representation of the buffer
 boolean isBufferInScope()
          Checks if the buffer has been created or not
 numeric length()
          Returns the length (character count)
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init()

Method Detail

append

public void append(string str)
Append to the buffer.

Parameters:
str - The string to append

clear

public void clear()
Clear the buffer


getBufferObject

public any getBufferObject()
Get the raw buffer object


getString

public any getString()
Get the string representation of the buffer


isBufferInScope

public boolean isBufferInScope()
Checks if the buffer has been created or not


length

public numeric length()
Returns the length (character count)


ColdBox Platform Version 2.6.3