eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SeasideService':

Home

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

Class: SeasideService


Inheritance:

   Object
   |
   +--HTTPService
      |
      +--SeasideService

Package:
stx:goodies/webServer
Category:
Seaside-Platform
Version:
rev: 1.13 date: 2021/06/13 08:51:56
user: cg
file: SeasideService.st directory: goodies/webServer
module: stx stc-classLibrary: webServer

Description:


This is for ST/X's webServer, what WACom is for the Squeak server:
an adaptor to plug in the seaside framework into the webServer framework.

Its main purpose is to translate webServer requests into seaside's WARequests
and seaside's WAResponses back to webServer responses.


Related information:

    Launchers
    settings
    application

Class protocol:

defaults
o  defaultEntryPoint

o  linkName
return the default path (with slash)

startup
o  startOn: aPortNr
start a new seaside service on the given port

Usage example(s):

     self startOn:9090.


Instance protocol:

accessing
o  entryPoint

o  entryPoint: something

request handling
o  convertRequest: anHttpRequest

o  convertResponse: aResponse for: aRequest
aResponse headers

o  handleRequest: aRequest

o  log: aRequest

o  process: httpRequest
(comment from inherited method)
all the work is done in this method.
Any service has to implement this method

o  processMultipartFields: aRequest
aRequest


Demonstration:


    SeasideService startOn:9090



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:38:24 GMT