eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTTPRestService':

Home

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

Class: HTTPRestService


Inheritance:

   Object
   |
   +--HTTPService
      |
      +--HTTPRestService
         |
         +--HTTPDemoRestService
         |
         +--HTTPSimpleJSONRestService
         |
         +--HTTPSimplePluggableJSONRestService

Package:
stx:goodies/webServer
Category:
Net-Communication-Rest
Version:
rev: 1.10 date: 2021/01/20 15:30:16
user: cg
file: HTTPRestService.st directory: goodies/webServer
module: stx stc-classLibrary: webServer

Description:


Abstract superclass for Rest services.
See concrete subclasses.

copyright

COPYRIGHT (c) 2015 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

queries
o  interfaceVersionString
can be redefined in subclasses

o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.

o  protocolVersion
can be redefined in subclasses

o  serviceName
can be redefined in subclasses


Instance protocol:

initialization
o  initialize

queries
o  protocolVersion

o  serviceName

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

** This method must be redefined in concrete classes (subclassResponsibility) **



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