Class MDCHelper

java.lang.Object
com.sap.cloud.security.servlet.MDCHelper

public final class MDCHelper extends Object
The Mapped Diagnostic Context helper class.
  • Field Details

  • Method Details

    • getOrCreateCorrelationId

      public static String getOrCreateCorrelationId()
      Gets correlation_id from MDC, if it is missing, new correlation_id will be created.
      Returns:
      the string of correlation_id