Namespace: OpenEdge.Web.DataObject.Writer
Type: Class HeaderElementWriter
Parent Classes:
Inherits: OpenEdge.Web.DataObject.Writer.ResponseElementWriter


/* *************************************************************************************************************************
Copyright (c) 2018 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:HeaderElementWriter
Description:Writes message elements as a cookie
Author(s):pjudge
Created:2018-05-08
Purpose: Default constructor.



Method Summary
  Options Name Purpose
  Write (character, Object) /* Writes message element data to the response The ElemName value can be either - Header name like "X-OE-Client-Props", or - A header name + a parameter name , like "Content-Disposition; filename". In the former case, the element value is written to the header's Value property; in the latter, the element value is written to the header's 'filename' parameter value. @param character The element name @param Progress.Lang.Object The data to write */
  Write (Object)

Constructor Summary
  Options Name Purpose
  HeaderElementWriter () /** Default constructor. */
  HeaderElementWriter (IHttpResponse) /** Constructor. @param IHttpResponse The response being written to */

Method Detail
Top

Write (character, Object)

/* Writes message element data to the response
The ElemName value can be either
- Header name like "X-OE-Client-Props", or
- A header name + a parameter name , like "Content-Disposition; filename".
In the former case, the element value is written to the header's Value property;
in the latter, the element value is written to the header's 'filename' parameter value.
Parameters:
pElemName CHARACTER
 
pElemValue Progress.Lang.Object
 
Top

Write (Object)

Parameters:
pElemValue Progress.Lang.Object
 


Constructor Detail
Top

HeaderElementWriter ()

Purpose: Default constructor.
Top

HeaderElementWriter (IHttpResponse)

Purpose: Constructor.
Parameters:
pResponse OpenEdge.Net.HTTP.IHttpResponse