org.mule.example.launcher
Class SimpleDownloadManager
java.lang.Object
org.mule.example.launcher.SimpleDownloadManager
public class SimpleDownloadManager
- extends Object
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 |
SimpleDownloadManager
public SimpleDownloadManager()
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.