public final class ResponseImpl extends Object implements Response
Constructor and Description |
---|
ResponseImpl(PageContext pc,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
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
|
public ResponseImpl(PageContext pc, boolean debug)
pc
- debug
- public Query addQuery(String name, String[] column)
Response
public void setVariable(String key, String value)
Response
setVariable
in interface Response
key
- key of the variablevalue
- value of the variablepublic void write(String str)
Response
public void writeDebug(String str)
Response
writeDebug
in interface Response
str
- String to writeCopyright © 2015 Lucee