eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTTPUtilityService':

Home

everywhere
www.exept.de
for:
[back]

Class: HTTPUtilityService


Inheritance:

   Object
   |
   +--HTTPService
      |
      +--HTTPSelectorService
         |
         +--HTTPUtilityService

Package:
stx:goodies/webServer
Category:
Net-Communication-HTTP-Services
Version:
rev: 1.9 date: 2009/07/10 11:17:28
user: cg
file: HTTPUtilityService.st directory: goodies/webServer
module: stx stc-classLibrary: webServer
Author:
Claus Gittinger

Description:


experimental

A service which will provide various cgi-like utilities.
For now there are:

    accessCount     - counts access to the URL passed as urlParameter.
                      Replies with a clack-counter image.
                      To count a page, add the following link to the
                      page:
                        <IMG SRC='/Utilities/accessCounter;URL=<URL-of-Page>'>

more to come


Class protocol:

image specs
o  defaultDigitStrip
specifies the default digit-image strip to be used

o  digitStrip1
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip2
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip3
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip3inv
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip3invMasked
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip4
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip5
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip6
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip7
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip8
a sample digit-image strip.
To use these images, change #defaultDigitStrip

o  digitStrip8Masked
This resource specification was automatically generated
by the ImageEditor of ST/X.

queries-service
o  linkName
return the default path (with slash)


Instance protocol:

actions
o  accessCounter: aRequest
count up and return a counter image for the new count.
Arrice here via the URL:
IMG SRC='/Utilities/accessCounter;url=<countedURL>'

o  accessCounterUncounted: aRequest
return a counter image - but do not count up.
Arrive here via the URL:
IMG SRC='/Utilities/accessCounterUncounted'

helpers
o  generateImageFor: aCount

initialization
o  initialize
look should be configurable via a settings app

queries-service
o  allowedMessages
return a collection of messages, that this service processes



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 10:15:52 GMT