All Implemented Interfaces:
MonitorKeys

public class HttpProbe extends DefaultProbe
A probe that checks whether a successful HTTP response code can be obtained from a container. A well-formed URL must be provided. The URL is intended to contain a token ${THIS_HOST} that will be replaced by the IP of the container. This probe also performs the checks of the DefaultProbe. Additional configurable properties include: url - required URL for HTTP connection, e.g. http://${THIS_HOST}:8080 timeout - connection timeout (default 1000) min.success - minimum response code considered successful (default 200) max.success - maximum response code considered successful (default 299)
  • Field Details

    • log

      protected static final org.slf4j.Logger log
  • Constructor Details

  • Method Details