
Processing the Request Using the HTTP Extension (7)
The programmer decides what the HTTP request handler does with the server control block, and sets this in the request handling method
HANDLE_REQUEST()of the interface IF_HTTP_EXTENSION.The following example gives an example of what the HTTP request handler can do.

First, the request handler gets the request object from the server control block.
The method
The HTTP request handler can now execute its processes and create a response. It can work on the data as much as required (with the given methods), call other programs, use databases, and so on. During processing, the response object (the attribute
RESPONSE of the server control block) is filled with content; in other words, the response is prepared for the HTTP client.As soon as these processes are finished, the HTTP request handler returns control to the ICF controller by exiting from the method
HANDLE_REQUEST().Finally comes
Sending the Reply (9-10).