[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base HTTP route class
Source position: httproute.pp line 52
type THTTPRoute = class(TCollectionItem) |
||
public |
||
destructor Destroy; override; |
|
Destroys the HTTP route instance |
class function NormalizeRoute(); |
|
Normalizes a route pattern string |
procedure HandleRequest(); |
|
Handles an HTTP request |
function Matches(); |
|
Checks if route matches pattern and method |
function MatchPattern(); |
|
Matches URL pattern against request path |
function MatchMethod(); |
|
Checks if route matches HTTP method |
published |
||
property Default: Boolean; [rw] |
|
Indicates if this is a default route |
property URLPattern: string; [rw] |
|
URL pattern for route matching |
property Method: TRouteMethod; [rw] |
|
HTTP method handled by this route |
end; |
|
Base HTTP route class |
|
| | | ||
| | | ||
| | | ||
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.
|
HTTP request router class |
|
|
HTTP method enumeration for routing |
|
|
Set of route matching options |