eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::HttpFormDictionary':

Home

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

Class: HttpFormDictionary (in Comanche)


Inheritance:

   Object
   |
   +--Collection
      |
      +--Set
         |
         +--Dictionary
            |
            +--Comanche::HttpFormDictionary

Package:
stx:goodies/webServer/comanche/swiki
Category:
Comanche-Kom-Protocol-HTTP
Version:
rev: 1.14 date: 2003/09/11 12:47:54
user: cg
file: HttpFormDictionary.st directory: goodies/webServer/comanche/swiki
module: stx stc-classLibrary: swiki

Description:


kom/4.12 (Comanche/4.12)

HttpFormDictionary (kom/4.10; bolot 6/22/2001 12:09)
    - use this instead of plain Dictionary for GET and POST forms
    - maintains multiple values for the same field
    -- but is backwards compatible, #at: returns the first value (?)
    -- so do #booleanAt:, #numberAt:
    - to access the actual value at key, use #rawAt:
    -- returns an OrderedCollection

TODO:
    - file upload support
    -- idea: first value is file name, second is FileStream?


Instance protocol:

accessing
o  at: key

o  at: key ifAbsent: aBlock
is this not absent?

o  at: key put: value

o  booleanAt: key

o  booleansAt: key
(Smalltalk dialectName = 'SmalltalkX')

o  numberAt: key

o  numbersAt: key

o  rawAt: key

o  rawAt: key ifAbsent: aBlock

o  stringAt: key

o  stringsAt: key

printing
o  printElementsOn: aStream



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 20:51:06 GMT