code: private void processClientId(HttpServletRequest httpServletRequest, History history) {
          // get the client id from the request header if applicable.. otherwise set to default
          // also set the client uuid in the history object
          if (httpServletRequest.getHeader(Constants.PROFILE_CLIENT_HEADER_NAME) != null &&
              !httpServletRequest.getHeader(Constants.PROFILE_CLIENT_HEADER_NAME).equals("")) {
              history.setClientUUID(httpServletRequest.getHeader(Constants.PROFILE_CLIENT_HEADER_NAME));
          } else {
              history.setClientUUID(Constants.PROFILE_CLIENT_DEFAULT_ID);
          }
          logger.info("Client UUID is: {}", history.getClientUUID());
      }
docs: Apply the matching client UUID for the request
  
  @param httpServletRequest
  @param history