|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Request
Alternative Implementation of Jeremy Allaire's Request Interface
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 |
Method Detail |
---|
boolean attributeExists(String key)
key
- key to check
boolean debug()
String getAttribute(String key)
key
- key to get
String getAttribute(String key, String defaultValue)
key
- key to getdefaultValue
- return this value if key not exist
String[] getAttributeList()
int getIntAttribute(String key) throws NumberFormatException
key
- key to get
NumberFormatException
int getIntAttribute(String key, int defaultValue)
key
- key to getdefaultValue
- return this value if key not exist
Query getQuery()
String getSetting(String key)
key
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |