code: private void setDirectiveList(String directives) {
          String[] directiveList = directives.replaceAll("\\s", EMPTY_STRING_VALUE).split(",");
          for (String entry : directiveList) {
              String[] nameValueArray = entry.split("=");
              String directiveName = nameValueArray[0];
              if (checkDirective(directiveName)) {
                  if (nameValueArray.length > 1) {
                      parseDirectiveWithValue(directiveName, nameValueArray[1]);
                      continue;
                  }
                  this.directives.put(Directive.get(directiveName), EMPTY_STRING_VALUE);
              }
          }
      }
docs: Creates the map with directives (name and value) from a String of directives, split by ","
  @param directives