http:wait

Full name:

org.kuali.maven.plugins:maven-http-plugin:1.0.4:wait

Description:

Contact the specified HTTP URL until a valid HTTP response code is returned or the maximum wait timeout is exceeded, whichever comes first.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0.
  • Invokes the execution of the lifecycle phase validate prior to executing itself.

Optional Parameters

Name Type Since Description
httpContinueWaitingCodes String 1.0 Comma separated list of HTTP status codes that means we should continue waiting for a success code
Default value is: 503.
httpSuccessCodes String 1.0 Comma separated list of HTTP status codes that represent success
Default value is: 200.
requestTimeout int 1.0 The maximum number of milliseconds to wait for an individual HTTP request to complete
Default value is: 3000.
sleepInterval int 1.0 The number of milliseconds to sleep in between HTTP requests
Default value is: 3000.
timeout int 1.0 The maximum number of seconds to wait for the url to respond correctly
Default value is: 180.
url String 1.0 The url to contact
Default value is: http://localhost.

Parameter Details

httpContinueWaitingCodes:

Comma separated list of HTTP status codes that means we should continue waiting for a success code
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${http.httpContinueWaitingCodes}
  • Default: 503

httpSuccessCodes:

Comma separated list of HTTP status codes that represent success
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${http.successCodes}
  • Default: 200

requestTimeout:

The maximum number of milliseconds to wait for an individual HTTP request to complete
  • Type: int
  • Since: 1.0
  • Required: No
  • Expression: ${http.requestTimeout}
  • Default: 3000

sleepInterval:

The number of milliseconds to sleep in between HTTP requests
  • Type: int
  • Since: 1.0
  • Required: No
  • Expression: ${http.sleepInterval}
  • Default: 3000

timeout:

The maximum number of seconds to wait for the url to respond correctly
  • Type: int
  • Since: 1.0
  • Required: No
  • Expression: ${http.timeout}
  • Default: 180

url:

The url to contact
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${http.url}
  • Default: http://localhost