core/src/main/java/io/fabric8/maven/core/handler/ProbeHandler.java
private HTTPGetAction getHTTPGetAction(String getUrl) {
        if (getUrl == null || !getUrl.subSequence(0,4).toString().equalsIgnoreCase("http")) {
            return null;
        }
        try {
            URL url = new URL(getUrl);
            return new HTTPGetAction(url.getHost(),
                    null /* headers */,
                    url.getPath(),
                    new IntOrString(url.getPort()),
                    url.getProtocol().toUpperCase());
        } catch (MalformedURLException e) {
            throw new IllegalArgumentException("Invalid URL " + getUrl + " given for HTTP GET readiness check");
        }
    }
private HTTPGetAction getHTTPGetAction(String getUrl) {
        if (getUrl == null || !getUrl.subSequence(0,4).toString().equalsIgnoreCase("http")) {
            return null;
        }
        try {
            URL url = new URL(getUrl);
            return new HTTPGetAction(url.getHost(),
                    null /* headers */,
                    url.getPath(),
                    new IntOrString(url.getPort()),
                    url.getProtocol().toUpperCase());
        } catch (MalformedURLException e) {
            throw new IllegalArgumentException("Invalid URL " + getUrl + " given for HTTP GET readiness check");
        }
    }
private HTTPGetAction getHTTPGetAction ( String getUrl ) { if ( getUrl == null || ! getUrl . subSequence ( 0 , 4 ) . toString ( ) . equalsIgnoreCase ( "http" ) ) { return null ; } try { URL url = new URL ( getUrl ) ; return new HTTPGetAction ( url . getHost ( ) , null /* headers */ , url . getPath ( ) , new IntOrString ( url . getPort ( ) ) , url . getProtocol ( ) . toUpperCase ( ) ) ; } catch ( MalformedURLException e ) { throw new IllegalArgumentException ( "Invalid URL " + getUrl + " given for HTTP GET readiness check" ) ; } }
========================================================================================
========================================================================================