use url context and one or more relocations to build end url . concode_field_sep PlaceHolder placeHolder concode_field_sep URL changeBase concode_elem_sep URL getUrlBase
URL function ( URL arg0 , String ... arg1 ) { URL loc0 = arg0 ; for ( String loc1 : arg1 ) { try { loc0 = new URL ( loc0 , loc1 ) ; } catch ( MalformedURLException loc2 ) { throw new AssertionError ( "srini_string" + loc0 + "srini_string" + loc1 + "srini_string" ) ; } } return loc0 ; }