Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Wiki Markup
{snippet:id=description|javadoc=true|url=org.apache.struts2.result.HttpHeaderResult}

Parameters

Wiki Markup
{snippet:id=params|javadoc=true|url=org.apache.struts2.result.HttpHeaderResult}

Examples

Wiki Markup
{snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2.result.HttpHeaderResult}

HttpHeader

A custom Result type for evaluating HTTP headers against the ValueStack.

Parameters

Required

Description

status

no

the http servlet response status code that should be set on a response

parse

no

true by default. If set to false, the headers param will not be parsed for Ognl expressions

headers

no

header values

Example:

...