Dashboard > WebWork > ... > Result Types > HttpHeader Result
  WebWork Log In View a printable version of the current page.  
  HttpHeader Result
Added by Casey Moyaert, last edited by Don Brown on Dec 20, 2005  (view change)
Labels: 
(None)

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

Parameters

  • status - the http servlet response status code that should be set on a response.
  • parse - true by default. If set to false, the headers param will not be parsed for Ognl expressions.
  • headers - header values.

Examples

<result name="success" type="httpheader">
  <param name="status">204</param>
  <param name="headers.a">a custom header value</param>
  <param name="headers.b">another custom header value</param>
</result>

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators