org.mule.example.launcher
Class SimpleDownloadManager

java.lang.Object
  extended by org.mule.example.launcher.SimpleDownloadManager

public class SimpleDownloadManager
extends Object


Constructor Summary
SimpleDownloadManager()
           
 
Method Summary
 Object download(Object data)
          Performs a HTTP GET or HTTP POST request and returns the contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDownloadManager

public SimpleDownloadManager()
Method Detail

download

public Object download(Object data)
Performs a HTTP GET or HTTP POST request and returns the contents.

Parameters:
data - Map instance containing the URL (should start with http://) and the method (GET or POST)
Returns:
The contents


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.