A HTTP request task.
Making an HTTP request and try to match the response against an provided regular expression.
package |
phing.tasks.ext |
---|---|
author |
Ole Markus With o.with@sportradar.com |
version |
$Id: 6013455856a997f45128c14715e7ec4b09017f7b $ |
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws |
---|
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
setUrl(string $url)
string
setFilename(string $filename)
string
setDir(string $dir)
string
setSslVerifyPeer(bool $value)
bool
setFollowRedirects(bool $value)
bool
setProxy(string $proxy)
string
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
string
Name of this task
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
getTaskType() : string
string
The type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
setDescription(string $desc)
string
The text describing the task
getDescription() : string
string
The text description of the task
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
url : string
var |
---|
string
filename : string
var |
---|
string
dir : string
var |
---|
string
sslVerifyPeer : boolean
var |
---|
boolean
followRedirects : null|bool
var |
---|
null|bool
_proxy : string
var |
---|
string
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project