Sign in Join
FPDoc Onlineexperiment

THTTPRoute class

In unit HTTPRoute

Base HTTP route class

Declaration

pascal
THTTPRoute = class(TCollectionItem)

Inheritance

  1. THTTPRoute
  2. TCollectionItem
  3. TPersistent
  4. 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

DefaultpublishedIndicates if this is a default route
URLPatternpublishedURL pattern for route matching
MethodpublishedHTTP method handled by this route

Methods

DoHandleRequestprotected
DestroypublicDestroys the HTTP route instance
NormalizeRoutepublicNormalizes a route pattern string
HandleRequestpublicHandles an HTTP request
MatchespublicChecks if route matches pattern and method
MatchPatternpublicMatches URL pattern against request path
MatchMethodpublicChecks 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.