railo.runtime.cfx
Class ResponseImpl

java.lang.Object
  extended by railo.runtime.cfx.ResponseImpl
All Implemented Interfaces:
Response

public final class ResponseImpl
extends Object
implements Response


Constructor Summary
ResponseImpl(PageContext pc, boolean debug)
           
 
Method Summary
 Query addQuery(String name, String[] column)
          adds a query to response
 void setVariable(String key, String value)
          sets a variable to response
 void write(String str)
          write out a String to response
 void writeDebug(String str)
          write out if debug is enabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseImpl

public ResponseImpl(PageContext pc,
                    boolean debug)
Parameters:
pc -
debug -
Method Detail

addQuery

public Query addQuery(String name,
                      String[] column)
Description copied from interface: Response
adds a query to response

Specified by:
addQuery in interface Response
Parameters:
name - name of the new Query
column - columns of the new Query
Returns:
created query

setVariable

public void setVariable(String key,
                        String value)
Description copied from interface: Response
sets a variable to response

Specified by:
setVariable in interface Response
Parameters:
key - key of the variable
value - value of the variable

write

public void write(String str)
Description copied from interface: Response
write out a String to response

Specified by:
write in interface Response
Parameters:
str - String to write

writeDebug

public void writeDebug(String str)
Description copied from interface: Response
write out if debug is enabled

Specified by:
writeDebug in interface Response
Parameters:
str - String to write


Copyright © 2012 Railo