@Test public void testEncode_Sort_Ascending() throws UnsupportedEncodingException { Sort ordering = Sort.property("abc"); String encoded = encoder.encode(Collections.singleton(ordering)); assertEquals("[{\"property\":\"abc\"}]", URLDecoder.decode(encoded, "UTF-8")); }
public String encode(Include include) { return urlEncode(asString(include)); }
RequestEncoder { public String encode(Include include) { return urlEncode(asString(include)); } }
RequestEncoder { public String encode(Include include) { return urlEncode(asString(include)); }  }
RequestEncoder { public String encode(Include include) { return urlEncode(asString(include)); }  static RequestEncoder encoder(); String encode(Include include); String encode(Expression expression); String encode(Collection<Sort> orderings); }
RequestEncoder { public String encode(Include include) { return urlEncode(asString(include)); }  static RequestEncoder encoder(); String encode(Include include); String encode(Expression expression); String encode(Collection<Sort> orderings);  }