testss
Java
code posted
created at 05 Aug 04:42
Edit
|
Back
1 2 3 4 5 6 7 8 9 |
HttpURLConnection conn = post(GCM_SEND_ENDPOINT, requestBody); int status = conn.getResponseCode(); if (status == 503) { logger.fine("GCM service is unavailable"); return null; } if (status != 200) { throw new InvalidRequestException(status); } |
290 Bytes in 2 ms with coderay