src/jdk.management.rest/share/classes/jdk/internal/management/remote/rest/http/MBeanCollectionResource.java
equal
deleted
inserted
replaced
239 } |
239 } |
240 |
240 |
241 String href = path + "/" + objectName.toString(); |
241 String href = path + "/" + objectName.toString(); |
242 href = HttpUtil.escapeUrl(href); |
242 href = HttpUtil.escapeUrl(href); |
243 item.put("href", href); |
243 item.put("href", href); |
|
244 String info = HttpUtil.escapeUrl(path + "/" + objectName.toString() + "/info"); |
|
245 item.put("info", info); |
244 items.add(item); |
246 items.add(item); |
245 String info = HttpUtil.escapeUrl(href + "/info"); |
|
246 item.put("info", info); |
|
247 } |
247 } |
248 |
248 |
249 Map<String, String> properties = new HashMap<>(); |
249 Map<String, String> properties = new HashMap<>(); |
250 |
250 |
251 properties.put("mbeanCount", Integer.toString(filteredMBeans.size())); |
251 properties.put("mbeanCount", Integer.toString(filteredMBeans.size())); |