Show TOC

Classes and Interfaces for the Server RoleLocate this document in the navigation structure


For successful HTTP communication, you require an HTTP request handler in the server. The HTTP request handler (class CL_HTTP_REQUEST_HANDLER in the UML diagram) implements the interface IF_HTTP_EXTENSION.


Using the classes and interfaces described here, you can develop your own HTTP request handler.


Remember, though, that SAP provides you with a range of HTTP request handlers that meet the most common requirements. You can also adapt these standard handlers for your own specific needs.


Before programming an HTTP request handler of your own, check if a ready-made SAP solution already exists.


The HTTP request handler (CL_HTTP_REQUEST_HANDLER) uses the interface of the interface IF_HTTP_UTILITY. You can use any of the methods specified here. The HTTP request handler then implements the interface IF_HTTP_EXTENSION, which uses the interface of the interface IF_HTTP_SERVER. The interface IF_HTTP_SERVER is the aggregation of the interfaces IF_HTTP_REQUEST (access to the request attribute) and IF_HTTP_RESPONSE (access to the response attribute). The interfaces IF_HTTP_REQUEST and IF_HTTP_RESPONSE are derived from the interface IF_HTTP_ENTITY.

The UML diagram below shows the design of the various interfaces and their relationships to one another.

More Information

The following sections describe the implemented interfaces in more detail: