TWebSiteRequestHandler
Abstract base class to represent a node in a path of handlers that is created while parsing a URI.
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TReferenceCountedObject | Object that keeps track of the number of times it is referenced from other objects |
4 | TWebSiteRequestHandler |
Source
WebSite.Request.Handler.pas (32)
Description
When a web site request arrives first the URI of the request is parsed and for every segment a specific TWebSiteRequestHandler
is created by
recursively calling GetChildHandler
on the last created handler. The last handler on the path is then used to actually produce a
THttpResponse
. All handlers on the path are responsible for providing a title and a menu for intermediate segments of the URI.
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | protected | TText | GetSegment() | |
Instance | protected | SetSegment(Value: TText) | ||
Instance | public | THttpResponse | HandleRequest() | |
Instance | public | TWebSiteInterfaceType | GetInterfaceType() | |
Instance | public | TMenuItem | CreateMenu(UriProducer: TUriProducer) | |
Instance | public | TDocumentNode | GetTitle() | |
Instance | public | TWebSitePreferences | CreatePreferences() | |
Instance | public | TWebSiteRequestHandler | GetChildHandler(Segment: TText; ResourceType: TUriResourceType) |