public class UrlTools {
static String url = "http://localhost:8080/api/flows?filter=&limit=10&offset=0&query=";
public static void main(String[] args) {
System.out.println(decodeUrl(url));
}
public static String decodeUrl(String url) {
try {
return java.net.URLDecoder.decode(url, "UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
return null;
}
}