1 | boolean getAutoRedirects() {↵ | | 1 | boolean get↵
|
2 | ↵ | | 2 | ReadResponseAsBoolean() {↵
|
3 | return getPropertyAsBoolean(AUTO_REDIRECTS);↵ | | 3 | return getPropertyAsBoolean(↵
|
4 | }↵ | | |
|
|
5 | public void setMethod(String value) {↵ | | |
|
6 | setProperty(METHOD, value);↵ | | |
|
7 | }↵ | | |
|
| | | 4 | READ_RESPONSE);↵
|
| | | 5 | }↵
|
|
| | | 6 | /**↵
|
| | | 7 | * if the sampler should use jndi.properties file, call the method with true↵
|
| | | 8 | * ↵
|
| | | 9 | * @param properties↵
|
| | | 10 | */↵
|
| | | 11 | public void setUseJNDIProperties(String properties) {↵
|
| | | 12 | setProperty(USE_PROPERTIES_FILE, properties);↵
|
| | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * return whether the sampler should use properties file instead of UI↵
|
| | | 16 | * parameters.↵
|
| | | 17 | * ↵
|
| | | 18 | * @return whether the sampler should use properties file instead of UI parameters.↵
|
| | | 19 | */↵
|
8 | public String getMethod() {↵ | | 20 | public String getUseJNDIProperties() {↵
|
9 | return getPropertyAsString(METHOD);↵ | | 21 | return getPropertyAsString(USE_PROPERTIES_FILE);↵
|
10 | } | | 22 | }
|