org.mule.security.oauth.util
Class HttpUtilImpl
java.lang.Object
org.mule.security.oauth.util.HttpUtilImpl
- All Implemented Interfaces:
- HttpUtil
public class HttpUtilImpl
- extends Object
- implements HttpUtil
Default implementation for HttpUtil
Method Summary |
String |
post(String url,
String body)
It posts the given body to a url and returns the response body as a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpUtilImpl
public HttpUtilImpl()
post
public String post(String url,
String body)
- It posts the given body to a url and returns the response body as a string
- Specified by:
post
in interface HttpUtil
- Parameters:
url
- the url you want to consumebody
- the body to post
- Returns:
- a string with the server's response body
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.