THTTPRoute class
Base HTTP route class
Declaration
THTTPRoute = class(TCollectionItem)Inheritance
- THTTPRoute
- TCollectionItem
- TPersistent
- TObject
Descends from it: THTTPRouteCallback THTTPRouteCallbackEx THTTPRouteEvent THTTPRouteInterface THTTPRouteObject
Description
THTTPRoute is the base class for all HTTP routes in the routing system.
It provides pattern matching functionality and request handling infrastructure for specific route implementations.
See also
Properties
Default | published | Indicates if this is a default route |
URLPattern | published | URL pattern for route matching |
Method | published | HTTP method handled by this route |
Methods
DoHandleRequest | protected | |
Destroy | public | Destroys the HTTP route instance |
NormalizeRoute | public | Normalizes a route pattern string |
HandleRequest | public | Handles an HTTP request |
Matches | public | Checks if route matches pattern and method |
MatchPattern | public | Matches URL pattern against request path |
MatchMethod | public | Checks if route matches HTTP method |
Inherited
From TCollectionItem (12)
Changed Collection Create DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex
From TPersistent (6)
Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
