Declaration¶
Source position: httproute.pp line 188
type
TRequestInterceptorList = class(TCollection)
public
function addInterCeptor : TRequestInterceptorItem;
function RunIntercepts : Boolean;
function IndexOfInterceptor : Integer;
function FindInterceptor : TRequestInterceptorItem;
property Interceptors[aIndex : Integer]: TRequestInterceptorItem; {r}
end;
Inheritance¶
Description¶
TRequestInterceptorList manages a collection of request interceptors. It provides methods for adding, finding, and executing interceptors during request processing.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Interceptors read only | public | Provides indexed access to interceptors |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| addInterCeptor | public | Adds a new interceptor to the collection |
| FindInterceptor | public | Finds interceptor by name |
| IndexOfInterceptor | public | Finds index of interceptor by name |
| RunIntercepts | public | Executes interceptors at specified timing |