Namespace: OpenEdge.Net.HTTP.Filter.Payload
Type: Class MultipartEntityWriter
Parent Classes:
Inherits: OpenEdge.Net.HTTP.Filter.Payload.MessageWriter
Implements: OpenEdge.Net.ISupportMultipartEntity


Copyright (c) 2015, 2017-2019, 2021-2022 by Progress Software Corporation. All rights reserved.
File:MultipartEntityWriter
Purpose:Creates a MultiPartEntity per http://tools.ietf.org/html/rfc2046
Author(s):pjudge
Created:Wed Jul 01 16:53:21 EDT 2015
Notes:- Write() operations are destructive (they replace the existing
Entity).
- http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html
/* magic numbers



Method Summary
  Options Name Purpose
  INT64 Write (memptr) /* Writes a multipart entity byte-by-byte. @param memptr The multipart message body @return int64 The number of bytes written */
  INT64 Write (MessagePart) /* Writes a message part into this entity @param MessagePart The new part to add @return int64 The number of bytes written */
  INT64 Write (Object)

Constructor Summary
  Options Name Purpose
  MultipartEntityWriter ()

Property Summary
  Options Name Purpose
  CHARACTER Boundary
  INTEGER CR
  INTEGER LF


Method Detail
Top

INT64 Write (memptr)

/* Writes a multipart entity byte-by-byte.
Parameters:
pmData OpenEdge.Core.Memptr
 
Returns INT64
  int64 The number of bytes written
Top

INT64 Write (MessagePart)

/* Writes a message part into this entity
Parameters:
pData OpenEdge.Net.MessagePart
 
Returns INT64
  int64 The number of bytes written
Top

INT64 Write (Object)

Parameters:
poData Progress.Lang.Object
 
Returns INT64
 


Constructor Detail
Top

MultipartEntityWriter ()



Property Detail
Top

CHARACTER Boundary

Returns CHARACTER
 
Top

INTEGER CR

Returns INTEGER
 
Top

INTEGER LF

Returns INTEGER