protected HttpResponse execute(HttpRequestBase method) {
        try {
            method.setHeader(new BasicHeader("Accept", "application/json"));
            method.setHeader("Content-Type", "application/json; charset=UTF-8");

            HttpResponse rsp = getHttpClient().execute(method);
            checkResponse(method, rsp);
            return rsp;
        } catch (RuntimeException rtex) {
            throw rtex;
        } catch (Exception ex) {
            throw new RuntimeException(ex);
        }
    }