eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTTPRequest::MultipartChunk':

Home

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

Class: MultipartChunk (private in HTTPRequest

This class is only visible from within HTTPRequest.

Inheritance:

   Object
   |
   +--HTTPRequest::MultipartChunk

Package:
stx:goodies/webServer
Category:
Net-Communication-HTTP-Server
Owner:
HTTPRequest

Class protocol:

instance creation
o  fields: fields postData: postData request: aRequest


Instance protocol:

accessing
o  contentDisposition

o  contentDispositionElements

o  contentType

o  contentTypeElements

o  data

o  name

o  request

actions
o  writeFile: fileName intoDirectory: aDirectory

o  writeFileIntoDirectory: aDirectory

initialization
o  fields: fields postData: postData request: aRequest
ATTENTION: we really want a cr-lf here

o  readContentDispositionFrom: aLine

o  readContentTypeFrom: aLine
embedded multipart/mixed content found

o  readElementsFrom: aStringCollection to: aDictionary

queries
o  filenameBaseName
IE sends his full pathname - have to extract basename

o  isFilenameChunk



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 20 Apr 2024 03:40:46 GMT