@Test public void testParam() throws Exception { SimpleParameterMap params = new SimpleParameterMap(); params.param("name", "southerni %7B%7Bnowrap Abdel-Moez & Humphries, 1955"); assertEquals("southerni %7B%7Bnowrap Abdel-Moez & Humphries, 1955", params.get("name").get(0)); params = new SimpleParameterMap(); params.param("name", "southerni {{nowrap Abdel-Moez & Humphries, 1955"); assertEquals("southerni %7B%7Bnowrap Abdel-Moez & Humphries, 1955", params.get("name").get(0)); }
public SimpleParameterMap param(String parameter, String value) { if (!Strings.isNullOrEmpty(value)) { putSingle(parameter, value.replaceAll("\\{", "%7B")); } return this; }
SimpleParameterMap extends MultivaluedMapImpl { public SimpleParameterMap param(String parameter, String value) { if (!Strings.isNullOrEmpty(value)) { putSingle(parameter, value.replaceAll("\\{", "%7B")); } return this; } }
SimpleParameterMap extends MultivaluedMapImpl { public SimpleParameterMap param(String parameter, String value) { if (!Strings.isNullOrEmpty(value)) { putSingle(parameter, value.replaceAll("\\{", "%7B")); } return this; }  }
SimpleParameterMap extends MultivaluedMapImpl { public SimpleParameterMap param(String parameter, String value) { if (!Strings.isNullOrEmpty(value)) { putSingle(parameter, value.replaceAll("\\{", "%7B")); } return this; }  SimpleParameterMap param(String parameter, String value); }
SimpleParameterMap extends MultivaluedMapImpl { public SimpleParameterMap param(String parameter, String value) { if (!Strings.isNullOrEmpty(value)) { putSingle(parameter, value.replaceAll("\\{", "%7B")); } return this; }  SimpleParameterMap param(String parameter, String value);  }