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

Inherits: Progress.IO.OutputStream

Copyright (c) 2015 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 */
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 /* */
# HANDLE WebStream /* The stream to which we are writing */


Method Detail
Top

PROTECTED Close ()

/* Closes the web stream
Top

PROTECTED Flush ()

/* Flushes the contents to the web stream
Top

PROTECTED Open ()

/* Opens the web stream
Top

PROTECTED INT64 Write (character)

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

PROTECTED INT64 Write (longchar)

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

PROTECTED 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

WriteCookies ()

/* Writes all cookies into the web stream
Top

PUBLIC 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

PUBLIC WriteToStream (character)

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


Constructor Detail
Top

PROTECTED WebResponseWriter ()

/* Default Constructor
Top

PROTECTED WebResponseWriter (IHttpResponse)

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


Property Detail
Top

PUBLIC CHARACTER CRLF

Returns CHARACTER
Top

PROTECTED OpenEdge.Net.HTTP.IHttpMessage Message

Returns OpenEdge.Net.HTTP.IHttpMessage
Top

OpenEdge.Net.HTTP.IHttpResponse Response

/*
Returns OpenEdge.Net.HTTP.IHttpResponse
Top

PROTECTED HANDLE WebStream

/* The stream to which we are writing
Returns HANDLE


10.27.2015 12:36:58