Show TOC

Constants for Describing the Control FlowLocate this document in the navigation structure

Definition

HTTP request handlers can allow other HTTP request handlers to be called for the same request. This may be necessary, for example, for a specific class of HTTP request handlers (such as logging options), but is not necessarily carried out in exactly the same way for all handlers, for example, the CRM HTTP request handler. A HTTP request handler therefore needs to be able to signal the required mode of behavior to the framework.

Use

If the attribute IF_HTTP_EXTENSION~FLOW_RC is set to one of the following values, this specifies what the ICF controller should do if the HTTP request handler returns control to the ICF controller by exiting the method HANDLE_REQUEST.

Structure

CO_FLOW_OK

The HTTP request handler has successfully processed the request. No further registered HTTP request handlers that are suitable for the request URL may be called. The ICF controller must send the response to the client immediately.

This is the default setting for all HTTP request handlers.

CO_FLOW_ERROR

An error occurred while the HTTP request handler was processing the request. No further registered HTTP request handlers that are suitable for the request URL may be called. The ICF controller must send the response to the client immediately.

CO_FLOW_OK_OTHERS_OPT

The HTTP request handler has successfully processed the request and allows further HTTP request handlers that are suitable for the request URL to be called. The response is then sent to the client.

CO_FLOW_OK_OTHERS_MAND

The HTTP request handler has successfully processed the request, and requires that at least one other HTTP request handler also successfully processes the request before the response can be sent to the client. A typical example of the use of this return code is a HTTP request handler that requires authentication.