org.apache.tools.ant.taskdefs.condition
public class Http extends ProjectComponent implements Condition
Since: Ant 1.5
Method Summary | |
---|---|
boolean | eval() |
void | setErrorsBeginAt(int errorsBeginAt)
Set the errorsBeginAt attribute |
void | setUrl(String url)
Set the url attribute |
Returns: true if the HTTP request succeeds
Throws: BuildException if an error occurs
Parameters: errorsBeginAt number at which errors begin at, default is 400
Parameters: url the url of the request