code: @Deprecated
    public static Map<String, String> getEscapeMapping(String in,
        Map<String, String> headers) {
      return getEscapeMapping(in, headers, false, 0, 0);
    }
docs: Instead of replacing escape sequences in a string, this method returns a
  mapping of an attribute name to the value based on the escape sequence
  found in the argument string.