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


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

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 11:42:11 GMT