Javascript example:
var headers = form.rest.getHeaders(); var contentType = headers["Content-Type"]; if(contentType == "application/json") { //parse json } ...
returns java.util.Map
Javascript example: