Skip to content

TWebHandler.HandleRequest

Routes and processes an HTTP request to the appropriate handler

Declaration

Source position: custweb.pp line 95

public 
procedure TWebHandler.HandleRequest(ARequest: TRequest; 
                                   AResponse: TResponse);  virtual;

Description

Routes an HTTP request to the appropriate handler using either legacy routing or the HTTP router system. Catches and handles any exceptions that occur during request processing by calling the exception handler.

Errors

Catches all exceptions during request processing and handles them via ShowRequestException.

See also

Name Description
LegacyRouting Controls whether to use legacy request routing instead of HTTP router
ShowRequestException