|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.allaire.cfx.DebugRequest
public class DebugRequest
Implementation of the Debug Request
Constructor Summary | |
---|---|
DebugRequest(Hashtable attributes)
constructor of the class |
|
DebugRequest(Hashtable attributes,
Query query)
constructor of the class |
|
DebugRequest(Hashtable attributes,
Query query,
Hashtable settings)
constructor of the class |
Method Summary | |
---|---|
boolean |
attributeExists(String key)
checks if attribute with this key exists |
boolean |
debug()
|
String |
getAttribute(String key)
returns attribute matching key |
String |
getAttribute(String key,
String defaultValue)
returns attribute matching key |
String[] |
getAttributeList()
return all sattribute keys |
int |
getIntAttribute(String key)
returns attribute as int matching key |
int |
getIntAttribute(String key,
int defaultValue)
returns attribute as int matching key |
Query |
getQuery()
return given query |
String |
getSetting(String key)
returns all the settings |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugRequest(Hashtable attributes)
attributes
- public DebugRequest(Hashtable attributes, Query query)
attributes
- query
- public DebugRequest(Hashtable attributes, Query query, Hashtable settings)
attributes
- query
- settings
- Method Detail |
---|
public boolean attributeExists(String key)
Request
attributeExists
in interface Request
key
- key to check
Request.attributeExists(java.lang.String)
public boolean debug()
debug
in interface Request
Request.debug()
public String getAttribute(String key, String defaultValue)
Request
getAttribute
in interface Request
key
- key to getdefaultValue
- return this value if key not exist
Request.getAttribute(java.lang.String, java.lang.String)
public String getAttribute(String key)
Request
getAttribute
in interface Request
key
- key to get
Request.getAttribute(java.lang.String)
public String[] getAttributeList()
Request
getAttributeList
in interface Request
Request.getAttributeList()
public int getIntAttribute(String key, int defaultValue)
Request
getIntAttribute
in interface Request
key
- key to getdefaultValue
- return this value if key not exist
Request.getIntAttribute(java.lang.String, int)
public int getIntAttribute(String key) throws NumberFormatException
Request
getIntAttribute
in interface Request
key
- key to get
NumberFormatException
Request.getIntAttribute(java.lang.String)
public Query getQuery()
Request
getQuery
in interface Request
Request.getQuery()
public String getSetting(String key)
Request
getSetting
in interface Request
Request.getSetting(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |