question: private String formatUrl ( String path ) { String urlPath = path ; if ( ! path . startsWith ( "/" ) ) { urlPath = String . format ( "/%s" , path ) ; } return String . format ( "%s%s" , this . baseUrl , urlPath ) ; }
target:  Format the REST endpoint URL.