public void check(String checkId, Status status, String note) {

        final URI uri = createURI("/check/" + status.getUri() + "/" + checkId);

        final HTTP.Response httpResponse = Str.isEmpty(note) ? HTTP.getResponse(uri.toString()) :
                HTTP.getResponse(uri.toString() + "?note=" + note);

        if (httpResponse.code() != 200) {
            notRegistered("Unable to perform check", uri, httpResponse.code(), httpResponse.statusMessageAsString(),
                    httpResponse.body());
        }

    }
public void check(String checkId, Status status, String note) {

        final URI uri = createURI("/check/" + status.getUri() + "/" + checkId);

        final HTTP.Response httpResponse = Str.isEmpty(note) ? HTTP.getResponse(uri.toString()) :
                HTTP.getResponse(uri.toString() + "?note=" + note);

        if (httpResponse.code() != 200) {
            notRegistered("Unable to perform check", uri, httpResponse.code(), httpResponse.statusMessageAsString(),
                    httpResponse.body());
        }

    }
public void check ( String checkId , Status status , String note ) { final URI uri = createURI ( "/check/" + status . getUri ( ) + "/" + checkId ) ; final HTTP . Response httpResponse = Str . isEmpty ( note ) ? HTTP . getResponse ( uri . toString ( ) ) : HTTP . getResponse ( uri . toString ( ) + "?note=" + note ) ; if ( httpResponse . code ( ) != 200 ) { notRegistered ( "Unable to perform check" , uri , httpResponse . code ( ) , httpResponse . statusMessageAsString ( ) , httpResponse . body ( ) ) ; } }
Checks in with Consul.

@param checkId The Check ID to check in.
@param status  The current state of the Check.
@param note    Any note to associate with the Check.
Checks in with Consul .