Annotation Type HttpRequestsCheck.Config
-
public static @interface HttpRequestsCheck.Config
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
connectTimeoutInMs
String
hc_name
String[]
hc_tags
int
readTimeoutInMs
String[]
requests
boolean
runInParallel
org.apache.felix.hc.api.Result.Status
statusForFailedContraint
String
webconsole_configurationFactory_nameHint
-
-
-
Element Detail
-
hc_name
String hc_name
- Default:
- "Http Requests"
-
-
-
hc_tags
String[] hc_tags
- Default:
- {}
-
-
-
requests
String[] requests
- Default:
- {"/path/example.html", "/path/example.html => 200", "/path/example.html => CODE < 500", "/protected/example.html => 401", "-u admin:admin /protected/example.html => 200", "/path/example.html => 200 && MATCHES <title>html title.*</title>", "/path/example.html => 200 && MATCHES <title>html title.*</title> && MATCHES anotherRegEx[a-z]", "/path/example.html => 200 && HEADER Content-Type MATCHES text/html.*", "/path/example.json => 200 && JSON root.arr[3].prop = myval", "/path/example-timing-important.html => CODE = 200 && TIME < 2000", "-X GET -H \"Accept: application/javascript\" http://api.example.com/path/example.json => 200 && JSON root.arr[3].prop = myval", "-X HEAD --data \"{....}\" http://www.example.com/path/to/data.json => 303", "--proxy proxyhost:2000 /path/example-timing-important.html => 200 && TIME < 2000"}
-
-
-
webconsole_configurationFactory_nameHint
String webconsole_configurationFactory_nameHint
- Default:
- "{hc.name}: {requests}"
-
-