@Test public void params() { assertEquals("http: .append("my_db") .append("my_doc") .param("startKey", "\"test\"") .param("endKey", "\"test\"") .toString()); }
private StringBuilder params() { if (params == null) { params = new StringBuilder(); } return params; }
URI { private StringBuilder params() { if (params == null) { params = new StringBuilder(); } return params; } }
URI { private StringBuilder params() { if (params == null) { params = new StringBuilder(); } return params; } private  URI(String path); private  URI(String path, boolean prototype); private  URI(StringBuilder path, StringBuilder params); private  URI(StringBuilder path); }
URI { private StringBuilder params() { if (params == null) { params = new StringBuilder(); } return params; } private  URI(String path); private  URI(String path, boolean prototype); private  URI(StringBuilder path, StringBuilder params); private  URI(StringBuilder path); static URI of(String path); static URI prototype(String path); URI copy(); URI append(String pathElement); URI param(String name, String value); URI param(String name, int value); URI param(String name, long value); @Override String toString(); void params(Map<String, String> params); }
URI { private StringBuilder params() { if (params == null) { params = new StringBuilder(); } return params; } private  URI(String path); private  URI(String path, boolean prototype); private  URI(StringBuilder path, StringBuilder params); private  URI(StringBuilder path); static URI of(String path); static URI prototype(String path); URI copy(); URI append(String pathElement); URI param(String name, String value); URI param(String name, int value); URI param(String name, long value); @Override String toString(); void params(Map<String, String> params);  }