Namespace: OpenEdge.Web
Class
WebResponseWriter
Parent classes:
Progress.IO.OutputStream

Inherits: Progress.IO.OutputStream

Copyright (c) 2015-2016 by Progress Software Corporation. All rights reserved.
Author(s):mbanks
Created:Mon Feb 02 11:54:49 EST 2015
@since:11.6




Method Summary
Options Name Purpose
Close () /* Closes the web stream */
Flush () /* Flushes the contents to the web stream */
Open () /* Opens the web stream */
INT64 Write (character) /* Writes character data to the web stream @param character The data to write to the web stream @return int64 The number of bytes written */
INT64 Write (longchar) /* Writes character data to the web stream @param longchar The data to write to the web stream @return int64 The number of bytes written */
INT64 Write (memptr, int64, int64) /* Writes some bytes from a memptr to the web stream @param memptr The entire memptr @param int64 The offset (start byte) @param int64 The number of bytes to write from the offset @return int64 The number of bytes written */
WriteBody () /* Dumps a complete response to the output stream. Does not allow for incremental Write() calls. */
WriteCookies () /* Writes all cookies into the web stream */
WriteHeader (character, character) /* Helper method to write message headers into the http message @param character The header name @param character The header value */
WriteHeaders () /* Writes all headers */
WriteHttpPreamble () /* Writes out the HTTP status line & headers */
WriteStatusLine () /* Writes the status line */
WriteToStream (character) /* Writes some character data to the stream @param character Data to write */

Constructor Summary
Options Name Purpose
WebResponseWriter () /* Default Constructor */
WebResponseWriter (IHttpResponse) /* Constructor @param IHttpResponse The response being written */

Property Summary
Options Name Purpose
CHARACTER CRLF
OpenEdge.Net.HTTP.IHttpMessage Message
OpenEdge.Net.HTTP.IHttpResponse Response /* The response being written */
HANDLE WebStream /* The stream to which we are writing */


Method Detail
Top

Close ()

/* Closes the web stream
Top

Flush ()

/* Flushes the contents to the web stream
Top

Open ()

/* Opens the web stream
Top

INT64 Write (character)

/* Writes character data to the web stream
Parameters:
pcData CHARACTER
Returns INT64
int64 The number of bytes written
Top

INT64 Write (longchar)

/* Writes character data to the web stream
Parameters:
lcData LONGCHAR
Returns INT64
int64 The number of bytes written
Top

INT64 Write (memptr, int64, int64)

/* Writes some bytes from a memptr to the web stream
Parameters:
pmData MEMPTR
offset INT64
len INT64
Returns INT64
int64 The number of bytes written
Top

WriteBody ()

/* Dumps a complete response to the output stream. Does not allow for
incremental Write() calls.
Top

WriteCookies ()

/* Writes all cookies into the web stream
Top

WriteHeader (character, character)

/* Helper method to write message headers into the http message
Parameters:
pcName CHARACTER
pcValue CHARACTER
Top

WriteHeaders ()

/* Writes all headers
Top

WriteHttpPreamble ()

/* Writes out the HTTP status line & headers
Top

WriteStatusLine ()

/* Writes the status line
Top

WriteToStream (character)

/* Writes some character data to the stream
Parameters:
pcData CHARACTER


Constructor Detail
Top

WebResponseWriter ()

/* Default Constructor
Top

WebResponseWriter (IHttpResponse)

/* Constructor
Parameters:
poResponse OpenEdge.Net.HTTP.IHttpResponse


Property Detail
Top

CHARACTER CRLF

Returns CHARACTER
Top

OpenEdge.Net.HTTP.IHttpMessage Message

Returns OpenEdge.Net.HTTP.IHttpMessage
Top

OpenEdge.Net.HTTP.IHttpResponse Response

/* The response being written
Returns OpenEdge.Net.HTTP.IHttpResponse
Top

HANDLE WebStream

/* The stream to which we are writing
Returns HANDLE


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7