|
Class: ServerMaintenanceService
Object
|
+--HTTPService
|
+--HTTPSelectorService
|
+--ServerMaintenanceService
- Package:
- stx:goodies/webServer
- Category:
- Net-Communication-HTTP-Services
- Version:
- rev:
1.103
date: 2018/01/25 11:04:54
- user: mawalch
- file: ServerMaintenanceService.st directory: goodies/webServer
- module: stx stc-classLibrary: webServer
- Author:
- Claus Gittinger
- Christian Penk
a service which provides maintenance access to configure
the server and services.
Provides roughly the same functionality as the Launcher-Settings-WebServerSettings,
but via the HTTP interface.
Must be protected by a realm - if not, only access from the local host is allowed.
[access with:]
http:<host>:<port>/Maintenance
class access
-
defaultReplyPresenterClass
-
defaults
-
defaultAllowRobots
-
-
linkName
-
return the default linkName path (with slash)
-
noRealmBehavior
-
allow access ONLY from localHost, if no realm was specified for this service
queries-service
-
settingsApplicationClass
-
a SettingsApplication class - or nil (used in the settings dialog if non-nil)
defaults
-
defaultReplyPresenterClass
-
queries-service
-
defaultMessage
-
-
isAllowedInMaintenanceMode
-
return true, if this service is also allowed while the server is in maintenance mode
-
isMessageAllowed: aSelector
-
the message is only allowed if this class implements aSelector and
the method belongs to one of the categories 'requuests-reply'.
usage example(s):
self new isMessageAllowed:#foo.
self new isMessageAllowed:#defaultMessage.
self new isMessageAllowed:#control:.
|
registration
-
addRequiredForeignServicesTo: aServer
-
I need a file service for the bitmaps and icons
requests-reply
-
addChangeService: aRequest
-
aRequest urlParameters keysAndValuesDo:[:key :value|
-
addRemoveChangeServices: aRequest
-
nextPutLine:' ';
-
applyAddService: aRequest
-
-
applyChangeService: aRequest
-
-
applyRemoveChangeService: aRequest
-
-
applyRemoveService: aRequest
-
-
changeDebugging: aRequest
-
fields keysAndValuesDo:[:key :value|
-
changeHomeURL: aRequest
-
-
changeLogging: aRequest
-
-
changeNotFoundURL: aRequest
-
-
changeOtherSettings: aRequest
-
-
collectGarbage: aRequest
-
-
control: aRequest
-
Perform 'Maintenance:control:xxx' functions - this method provides all
functionality required for remote server administration (via the web).
-
disableSoap: aRequest
-
-
enableDisableSoap: aRequest yesNo: yesNo
-
-
enableSoap: aRequest
-
-
enterMaintenanceMode: aRequest
-
-
exitMaintenanceMode: aRequest
-
-
exitSmalltalk: aRequest
-
-
fileInPatch: aRequest
-
-
loadLibrary: aRequest
-
show the directory contents
-
loadSettings: aRequest
-
-
openLauncher: aRequest
-
ask user for Display,
open a display connection and a Laucher
-
printSettings: aRequest
-
-
removePatch: aRequest
-
-
restartServer: aRequest
-
this is special (and different to HTTPServer>>#restartServer):
The serverProcess will not terminate
-
saveSettings: aRequest
-
-
snapshot: aRequest
-
-
stopServer: aRequest
-
-
uploadPatch: aRequest
-
requests-reply-authorization
-
changeAuthorization: aRequest
-
-
changeAuthorizationMethods: aRequest
-
-
changeAuthorizationPageFor: aRequest
-
-
removeChangeUsersFor: aRequest
-
service-helpers
-
changeService: aService fromRequest: aRequest
-
-
createNewServiceFromFields: fields request: aRequest
-
-
createNewServiceFromRequest: aRequest
-
-
responseError: aErrorString title: aTitle request: aRequest backSelector: backSel
-
-
serviceFromRequest: request
-
-
serviceInputFieldsFor: service request: aRequest change: change
-
|