org.mule.security.oauth.util
Interface HttpUtil

All Known Implementing Classes:
HttpUtilImpl

public interface HttpUtil

Internal util class for Devkit's use only. For general purpose use cases prefer standard Jersey client instead.


Method Summary
 String post(String url, String body)
          It posts the given body to a url and returns the response body as a string
 

Method Detail

post

String post(String url,
            String body)
It posts the given body to a url and returns the response body as a string

Parameters:
url - the url you want to consume
body - the body to post
Returns:
a string with the server's response body


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