public interface Request
Modifier and Type | Method and Description |
---|---|
boolean |
attributeExists(java.lang.String key)
checks if attribute with this key exists
|
boolean |
debug() |
java.lang.String |
getAttribute(java.lang.String key)
returns attribute matching key
|
java.lang.String |
getAttribute(java.lang.String key,
java.lang.String defaultValue)
returns attribute matching key
|
java.lang.String[] |
getAttributeList()
return all sattribute keys
|
int |
getIntAttribute(java.lang.String key)
returns attribute as int matching key
|
int |
getIntAttribute(java.lang.String key,
int defaultValue)
returns attribute as int matching key
|
Query |
getQuery()
return given query
|
java.lang.String |
getSetting(java.lang.String key)
returns all the settings
|
boolean attributeExists(java.lang.String key)
key
- key to checkboolean debug()
java.lang.String getAttribute(java.lang.String key)
key
- key to getjava.lang.String getAttribute(java.lang.String key, java.lang.String defaultValue)
key
- key to getdefaultValue
- return this value if key not existjava.lang.String[] getAttributeList()
int getIntAttribute(java.lang.String key) throws java.lang.NumberFormatException
key
- key to getjava.lang.NumberFormatException
int getIntAttribute(java.lang.String key, int defaultValue)
key
- key to getdefaultValue
- return this value if key not existQuery getQuery()
java.lang.String getSetting(java.lang.String key)
key
-