eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::SwikiFileServer':

Home

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

Class: SwikiFileServer (in Comanche)


Inheritance:

   Object
   |
   +--Comanche::SwikiFileServer

Package:
stx:goodies/webServer/comanche/swiki
Category:
Comanche-Swiki-FileServer
Version:
rev: 1.30 date: 2003/08/29 17:05:08
user: cg
file: SwikiFileServer.st directory: goodies/webServer/comanche/swiki
module: stx stc-classLibrary: swiki

Description:


SwikiFileServer

is a pluggable functionality module. It is used by the Swiki to reference or serve files and directories in different ways.

INSTANCE VARIABLES:
refFileDict = a Dictionary of classes to the block used to reference them
serveFileDict = a Dictionary of classes to the block used to serve them
refFileBlock = a block that determines how to reference a SwikiFile
refDirectoryBlock = a block that determines how to reference a SwikiDirectory
refMissingFileBlock = a block that determines how to reference a missing file
serveFileBlock = a block that determines how to serve a SwikiFile or SwikiImage
serveDirectoryBlock = a block that determines how to serve a SwikiDirectory
serveMissingFileBlock = a block that determines how to serve a missing file


Class protocol:

instance creation
o  new
(comment from inherited method)
return an instance of myself without indexed variables


Instance protocol:

accessing
o  refDirectoryBlock: aBlock

o  refFileBlock: aBlock

o  refFileDictAt: aClass put: aBlock

o  refImageBlock: aBlock

o  refMissingFileBlock: aBlock

o  serveDirectoryBlock: aBlock

o  serveFileBlock: aBlock

o  serveFileDictAt: aClass put: aBlock

o  serveMissingFileBlock: aBlock

initialization
o  initialize
(comment from inherited method)
just to ignore initialize to objects which do not need it

referencing
o  referenceDirectory: aSwikiDir options: dict

o  referenceFile: aSwikiFile onDir: aSwikiDir options: dict

o  referenceMissingFileNamed: aString onDir: aSwikiDir options: dict

serving
o  serveDirectory: aSwikiDir options: dict

o  serveFile: aSwikiFile onDir: aSwikiDir options: dict

o  serveMissingFilePath: path onDir: aSwikiDir options: dict



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 17:21:28 GMT