NAME

JMX::Jmx4Perl::Agent::Jolokia::DownloadAgent - Specialized LWP::UserAgent adding some bells and whistles for downloading agents and other stuff.

DESCRIPTION

User agent for Jolokia artifact downloading. It decorates a regular User Agent with a download bar and allows for proxy handling and authentication. For a progress bar, the optional module Term::ProgressBar must be installed.

METHODS

$ua = JMX::Jmx4Perl::Agent::Jolokia::DownloadAgent->new(%args)

Create a new user agent, a subclass fro LWP::UserAgent

Options:

"http_proxy"      HTTP Proxy to use
"https_proxy"     HTTPS Proxy to use 
"quiet"           If true, dont show progressbar
"proxy_user"      Proxy user for proxy authentication
"proxy_password"  Proxy password for proxy authentication

LICENSE

This file is part of jmx4perl. Jmx4perl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by The Free Software Foundation, either version 2 of the License, or (at your option) any later version.

jmx4perl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with jmx4perl. If not, see <http://www.gnu.org/licenses/>.

A commercial license is available as well. Please contact roland@cpan.org for further details.

AUTHOR

roland@cpan.org