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.11 date: 2018/05/14 20:28:08
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

o  processMultipartFields: aRequest
aRequest


Demonstration:


    SeasideService startOn:9090



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 04 Aug 2025 16:58:46 GMT