Object documentation IF_HTTP_EXTENSION Locate the document in its SAP Library structure

Definition

The interface IF_HTTP_EXTENSION must be implemented by all HTTP request handlers. This interface guarantees that the Internet Communication Framework interacts consistently with the HTTP request handlers, regardless of the handlers’ individual purposes.

Use

The only method belonging to this interface is HANDLE_REQUEST() . This method is called by the ICF handler for an incoming request. A reference to the interface IF_HTTP_SERVER is given as an argument, so that the HTTP request handler can access the request and response data. As soon as the HTTP request handler has executed its processes for the request, it simply exits the call for the method HANDLE_REQUEST() and passes control over to the ICF controller.

The interface IF_HTTP_EXTENSION also has two other attributes. The purposes of these additional attributes are to allow the HTTP request handler to influence its own behavior during its lifetime, and to decide how other HTTP request handlers associated with the service should be executed. These attributes are described in other sections.

Structure

The structure of the interface IF_HTTP_EXTENSION is described in the following sections:

List of Attributes

Constants for Describing Lifetime Control

Constants for Describing the Control Flow

List of Methods

 

 

Leaving content frame