getHeader

Returns an attribute defined in the query header.


            getHeader (name)
         

Parameters

name

Name of the header's attribute.

Return value

None.

Remarks

Example:
Host: <%= request.getHeader("host") %>

Features

Method of class: HttpServletRequest

Available in:

  • JSSP
  • WebApp