A WebResourceGroup is a container for WebResource objects. When a server receives a request, it looks in its group list to find the resource object that will handle the request.
class
WebResourceGroup : object
Superclass Tree (in declaration order)
WebResourceGroup
object
Subclass Tree
(none)
Global Objects
mainWebGroup
Summary of Properties
all
contents
priority
server
Summary of Methods
isGroupFor
processRequest
Properties
class property: list of all WebResourceGroup objects
the WebResource objects in the group
The priority of the group, relative to other groups. If the same server matches multiple groups, this allows you to designate which group has precedence. A higher value means higher priority.
The HTTPServer object or objects this group is associated with. The general event processor uses this to route a request to the appropriate resource group, by finding the group that's associated with the server that received the request.
To associate a group with multiple servers, make this a list.
Methods
Should this group handle the given request? By default, we say yes if the server that received the request is associated with this group via the group's 'server' property.
Process a request. This looks for the highest priority matching resource in the group, then hands the request to that resource for processing.
Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1