Class Headers
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.output.freemarker.header.Headers
-
Constructor Details
-
Headers
public Headers()
-
-
Method Details
-
set
-
get
-
has
Determine if a header is set.- Parameters:
name- The name of the header.- Returns:
- true, if the header exists, else false.
-
noCache
Set the "Cache-Control" header to "no-cache".- Returns:
- an empty string. If we returned nothing or null, we would have to handle it in the template.
-
iterator
-