com.bugsnag.http
Class HttpClient

java.lang.Object
  extended by com.bugsnag.http.HttpClient

public class HttpClient
extends Object


Constructor Summary
HttpClient()
           
 
Method Summary
static void post(String urlString, byte[] payload, String contentType)
           
static void post(String url, org.json.JSONObject payload)
           
static void post(String url, String payload, String contentType)
           
static byte[] stringToByteArray(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClient

public HttpClient()
Method Detail

post

public static void post(String url,
                        org.json.JSONObject payload)
                 throws NetworkException,
                        org.json.JSONException
Throws:
NetworkException
org.json.JSONException

post

public static void post(String url,
                        String payload,
                        String contentType)
                 throws NetworkException
Throws:
NetworkException

post

public static void post(String urlString,
                        byte[] payload,
                        String contentType)
                 throws NetworkException
Throws:
NetworkException

stringToByteArray

public static byte[] stringToByteArray(String str)


Copyright © 2013. All Rights Reserved.