org.mule.example.launcher
Class SimpleHTTPClient
java.lang.Object
org.mule.example.launcher.SimpleHTTPClient
public class SimpleHTTPClient
- extends Object
SimpleHTTPClient is a simple class that handles GET and POST HTTP requests.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleHTTPClient
public SimpleHTTPClient()
httpClient
public HTTPResponse httpClient(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-2011 MuleSoft, Inc.. All Rights Reserved.