eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::MultipartChunk':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MultipartChunk (in Comanche)


Inheritance:

   Object
   |
   +--Comanche::MultipartChunk

Package:
stx:goodies/webServer/comanche/swiki
Category:
Comanche-Kom-Protocol-HTTP
Version:
rev: 1.11 date: 2003/08/29 17:04:21
user: cg
file: MultipartChunk.st directory: goodies/webServer/comanche/swiki
module: stx stc-classLibrary: swiki

Description:


kom/4.12 (Comanche/4.12)

MultipartChunkHeader (kom/4.8; bolot 4/2/2001 18:52)
- in kom49 (or kom50) this will be used only for internal purposes
-- applications will access multipart form fields through regular fieldAt: technique

Comment from kom46:
- this is a hack (bolot 10/25/2000 17:17)
- store a part's (from a multipart message) header information:
-- header (raw)
-- properties (extracted and converted info, such as file-name, content-length, etc.)


Class protocol:

instance creation
o  from: aDictionary


Instance protocol:

accessing
o  contentType

o  fieldName

o  fileName

o  fileName: aString

o  multipartBoundary

o  saveToStream: outStream
Save this chunk's body in outStream

o  setSavedFlag

initialize-release
o  initializeFrom: aDictionary
PRE: all keys in aDictionary are low-case

o  multipartBoundary: aString

o  request: aRequest

testing
o  isSaved



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:19:06 GMT