RESTfulService.setResponseHeader

Sets a response header by name and value. Further documentation.

Javascript example:

 form.rest.setResponseHeader("Content-Type", "application/json");
 

Parameters

java.lang.String  name,  java.lang.String  value,