public UrlBuilder addPath ( String path ) { if ( path . charAt ( 0 ) == ' ' && baseUrl . endsWith ( "/" ) ) { baseUrl = baseUrl + path . substring ( 1 ) ; } else { baseUrl = baseUrl + path ; } return this ; }
Add a path extension .