public class HttpRequestUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static URLConnection |
post(String url,
String encodedCredentials,
String jsonPayloadObject,
Charset charset,
ProxyConfig proxy,
TrustStoreConfig customTrustStore)
Returns URLConnection that 'posts' the given JSON to the given UnifiedPush Server URL.
|
public static URLConnection post(String url, String encodedCredentials, String jsonPayloadObject, Charset charset, ProxyConfig proxy, TrustStoreConfig customTrustStore) throws Exception
url - encodedCredentials - jsonPayloadObject - charset - proxy - customTrustStore - URLConnectionExceptionCopyright © 2015 JBoss by Red Hat. All Rights Reserved.