Powered by Zoomin Software. For more details please contactZoomin

Extensions

Access HTTP Headers in Extended Operators and Service Callouts

Access HTTP Headers in Extended Operators and Service Callouts

  • Last Updated: October 26, 2026
  • 1 minute read
    • Corticon
    • Version 7.1
    • Documentation

Access to Vocabulary Metadata through the ICcDataObjectManager

When deployed as a web service, the Corticon server can retrieve all HTTP header name/value pairs from the HTTP session. These will be placed in a class implementing the ICcServerHttpInfo interface. This class is available from the ICcDataObjectManager class passed to all extensions.

An example of a service callout accessing the HTTP headers is as follows:

public static void getHttpHeaders (
  ICcDataObjectManager dataObjMgr
) {
  ICcServerHttpInfo ccServerHttpInfo = dataObjMgr.getCcServerHttpInfo();
  Map<String, String> httpHeaders = ccServerHttpInfo.getHttpHeaders();
  for (Map.Entry<String, String> entry : httpHeaders.entrySet()) {
    String key = entry.getKey();
    String value = entry.getValue();
    .......
  }
}

Corticon can call REST services; for example, calling a SaaS service.

See the Corticon extension JavaDoc for more details.

Alert