src/com/newrelic/metrics/publish/binding/Request.java
/**
     * Checks if the Collector response is Ok.
     * A 200 response code (HTTP_OK) with status of "ok" in the response body is an Ok response.
     * @param responseCode
     * @param responseBody
     * @return boolean
     */
Checks if the Collector response is Ok.
A 200 response code (HTTP_OK) with status of "ok" in the response body is an Ok response.
@param responseCode
@param responseBody
@return boolean
Checks if the Collector response is Ok . A 200 response code ( HTTP_OK ) with status of " ok " in the response body is an Ok response . @param responseCode @param responseBody @return boolean
private boolean isResponseOk(int responseCode, String responseBody) {
        String statusMessage = getStatusMessage(responseBody);
        return responseCode == HttpURLConnection.HTTP_OK && OK_STATUS.equals(statusMessage);
    }
private boolean isResponseOk ( int responseCode , String responseBody ) { String statusMessage = getStatusMessage ( responseBody ) ; return responseCode == HttpURLConnection . HTTP_OK && OK_STATUS . equals ( statusMessage ) ; }
Checks if the Collector response is Ok.
 A 200 response code (HTTP_OK) with status of "ok" in the response body is an Ok response.
Checks if the Collector response is Ok . A 200 response code ( HTTP_OK ) with status of " ok " in the response body is an Ok response .
// parse json response for status message