TWebSiteRequestHandler

Abstract base class to represent a node in a path of handlers that is created while parsing a URI.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TBaseObjectA base class for objects that can be used instead of TObject.
3TReferenceCountedObjectObject that keeps track of the number of times it is referenced from other objects
4TWebSiteRequestHandler

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

ScopeVisibilityResultNameDescription
InstanceprotectedTTextGetSegment()
InstanceprotectedSetSegment(Value: TText)
InstancepublicTHttpResponseHandleRequest()
InstancepublicTWebSiteInterfaceTypeGetInterfaceType()
InstancepublicTMenuItemCreateMenu(UriProducer: TUriProducer)
InstancepublicTDocumentNodeGetTitle()
InstancepublicTWebSitePreferencesCreatePreferences()
InstancepublicTWebSiteRequestHandlerGetChildHandler(Segment: TText; ResourceType: TUriResourceType)