Package org.apache.felix.hc.generalchecks

## Annotation Type HttpRequestsCheck.Config

    public static @interface HttpRequestsCheck.Config

### Optional Element Summary

Optional Elements
`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"}

#### connectTimeoutInMs

    int connectTimeoutInMs

Default:
  7000

#### readTimeoutInMs

    int readTimeoutInMs

Default:
  7000

#### statusForFailedContraint

    org.apache.felix.hc.api.Result.Status statusForFailedContraint

Default:
  org.apache.felix.hc.api.Result.Status.WARN

#### runInParallel

    boolean runInParallel

Default:
  true

#### webconsole_configurationFactory_nameHint

    String webconsole_configurationFactory_nameHint

Default:
  "{hc.name}: {requests}"