DebugRequest
public interface Request
Modifier and Type | Method | Description |
---|---|---|
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
|
boolean attributeExists(String key)
key
- key to checkboolean debug()
String getAttribute(String key)
key
- key to getString getAttribute(String key, String defaultValue)
key
- key to getdefaultValue
- return this value if key not existString[] getAttributeList()
int getIntAttribute(String key) throws NumberFormatException
key
- key to getNumberFormatException
- thrown when fail to convert the value to a numberint getIntAttribute(String key, int defaultValue)
key
- key to getdefaultValue
- return this value if key not existQuery getQuery()
Copyright © 2020. All rights reserved.