headers
Purpose
Obtains the value of a named headerExamples
Reading a header's value:Format? <g:header name="Content-Type" />
<g:if test="${header(name: 'User-Agent')}">Hello</g:if>
Description
Attributesname
- The name of the header
(Quick Reference)
headersPurposeObtains the value of a named headerExamplesReading a header's value:Format? <g:header name="Content-Type" /> <g:if test="${header(name: 'User-Agent')}">Hello</g:if> DescriptionAttributes
Source |
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |