WebResourceGroupclasswebui.t[1228]

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  

allwebui.t[1305]

class property: list of all WebResourceGroup objects

contentswebui.t[1267]
the WebResource objects in the group

prioritywebui.t[1254]
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.

serverwebui.t[1264]
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  

isGroupFor (req)webui.t[1234]

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.

processRequest (req)webui.t[1274]
Process a request. This looks for the highest priority matching resource in the group, then hands the request to that resource for processing.

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3