private String encodeKeysGet ( String keys ) { try { return URLEncoder . encode ( keys , "UTF-8" ) ; } catch ( Exception ex ) { throw new RuntimeException ( "Could not prepare view argument: " + ex ) ; } }
Encodes the keys JSON array into an URL - encoded form suitable for a GET on query service .