RESTfulService.getRequestHeader

Returns a request header by a specific name. Further documentation.

Javascript example:

 //get the post parameter
 var username = form.rest.getRequestHeader("username");
 //get user details
 ...
 

returns java.lang.String

Parameters

java.lang.String  header,