List of utility methods to do URL Create
String | buildUrlParameterString( List Shorthand for building a parameter string used in the url of GET requests; return buildParameterString(parameters, "&", false); |
String | appendParameter(String url, String name, String value) append Parameter if (name == null || value == null) { return url; value = value.trim(); if (value.length() == 0) { return url; try { ... |
String | appendParameter(String url, String name, String value) append Parameter if (name == null || value == null) { return url; value = value.trim(); if (value.length() == 0) { return url; value = htmlEncode(value); ... |
String | geoCoderUrlBuilder(double lat, double lng) Builds a url for google api for the given parameters String googleurl = "https://maps.google.com/maps/api/geocode/json?key=AIzaSyACYVxd_d-49UnhqibCI6F9f7b5Gw1qTSc&"; StringBuilder sbuilder = new StringBuilder(); sbuilder.append(googleurl); sbuilder.append("latlng=" + lat + "," + lng); sbuilder.append("&sensor=true"); String url = sbuilder.toString(); return url; |
String | makeUrl(String inBaseUrl, String inUrl) make Url if (null == inUrl || inUrl.length() == 0) { return null; if (null == inBaseUrl || inBaseUrl.length() == 0) { return null; if (uriHasSchema(inUrl) || inUrl.startsWith("/")) { return inUrl; ... |