class GlobalHealthcheckHandler {

    protected HttpEntity<String> buildHttpEntityForRequest() {
        HttpHeaders headers = new HttpHeaders();
        headers.setAccept(Collections.singletonList(MediaType.APPLICATION_JSON));
        headers.set(HttpHeaders.CONTENT_TYPE, "application/json");
        headers.set(HttpHeaders.AUTHORIZATION, msoAuth);
        HttpEntity<String> entity = new HttpEntity<>("parameters", headers);
        return entity;
    }

}