org.opencfml.cfx
Interface Response


public interface Response

Alternative Implementation of Jeremy Allaire's Response Interface


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
 

Method Detail

addQuery

Query addQuery(String name,
               String[] column)
adds a query to response

Parameters:
name - name of the new Query
column - columns of the new Query
Returns:
created query

setVariable

void setVariable(String key,
                 String value)
sets a variable to response

Parameters:
key - key of the variable
value - value of the variable

write

void write(String str)
write out a String to response

Parameters:
str - String to write

writeDebug

void writeDebug(String str)
write out if debug is enabled

Parameters:
str - String to write


Copyright © 2012 Railo