Tasks for HTTP-operations based on Jakrata's HttpClient library

Package Specification

Dependencies to some of thrird party libraries:

Related Documentation

For general understanding of this library and taks please do reffer to:
All tasks here are backed by single HttpClient object instance. This allows for creation of several HTTP-activities correlating to each other. Typical example is to issue a GET to a login page, then to POST with user credentials and then to perform some other GET/POST/MPOS operations.
This has the disadvantage that one cannot use two differnet credentials with one and same site and one and same time. In order to initiate a new HttpClient instance, one can pass shutdown="true" attribute to any of the provided tasks.
Examples:
    <echo>Login ...</echo>
    <httppost url="http://localhost/login.do" loglevel="none"
    >
        <post name="username"     value="me"  />
        <post name="password"     value="superman" />
    </httppost>

    <echo>Importing some file ...</echo>
    <httpmpost url="http://localhost/import.do" loglevel="content"
    >
        <postfile   name="importFile"       file="someFile.txt" />
        <poststring name="import"           value="Import" />
    </httpmpost>
    
    <echo>Getting import feedback ...</echo>
    <httpget
        url="http://localhost/importer/get_info.do"
        loglevel="all"  logFile="somefile.log"
    >
    </httpget>