To create an HTTP request handler, proceed as follows:
Call transaction SE24 ( Class Builder) and create a class that represents the HTTP request handler.
Assign interface IF_HTTP_EXTENSION to the class that you have created.
Implement method HANDLE_REQUEST(). To do so, double-click on HANDLE_REQUEST.
To be able to access request and response data, use the interface IF_HTTP_SERVER as an argument of the method HANDLE_REQUEST().
If you want to process an incoming request in more detail, use the attributes FLOW_RC und LIFETIME_RC. These attributes are supported by the interface IF_HTTP_EXTENSION. You can use the method HANDLE_REQUEST() to fill the attributes with content.
Analyzing a Request
To enable you to react flexibly to a request, you have the option of analyzing form, header and body fields.
The examples below provide you with information about the various data that you can access: