Class ExecutionIdUtil


  • public final class ExecutionIdUtil
    extends Object
    A helper class that either fetches a unique execution id from request HTTP headers or generates a random id.
    • Constructor Detail

      • ExecutionIdUtil

        public ExecutionIdUtil()
    • Method Detail

      • storeExecutionId

        public void storeExecutionId​(javax.servlet.http.HttpServletRequest request)
        Add mapping to root logger from current thread id to execution id. This mapping will be used to append the execution id to log lines.
      • removeExecutionId

        public void removeExecutionId()
        Remove mapping from curent thread to request execution id