samples/boot/oauth2resourceserver-multitenancy/src/main/java/org/springframework/boot/env/MockWebServerPropertySource.java
private String getUrl() {
		MockWebServer mockWebServer = getSource();
		if (!this.started) {
			intializeMockWebServer(mockWebServer);
		}
		String url = mockWebServer.url("").url().toExternalForm();
		return url.substring(0, url.length() - 1);
	}
private String getUrl() {
		MockWebServer mockWebServer = getSource();
		if (!this.started) {
			intializeMockWebServer(mockWebServer);
		}
		String url = mockWebServer.url("").url().toExternalForm();
		return url.substring(0, url.length() - 1);
	}
private String getUrl ( ) { MockWebServer mockWebServer = getSource ( ) ; if ( ! this . started ) { intializeMockWebServer ( mockWebServer ) ; } String url = mockWebServer . url ( "" ) . url ( ) . toExternalForm ( ) ; return url . substring ( 0 , url . length ( ) - 1 ) ; }
Get's the URL (i.e. "http://localhost:123456")
@return
Get s the URL ( i . e . http : // localhost : 123456 )