Package org.codehaus.cargo.container.internal.util.HttpUtils

Examples of org.codehaus.cargo.container.internal.util.HttpUtils.HttpResult


        Pattern pat = Pattern.compile("^.+/(.+)\\.war$");
        Matcher mat = pat.matcher(warPath);
        Assert.assertTrue(mat.matches(), "could not grab file name from war path");
        String appName = mat.group(1);
        String port = container.getConfiguration().getPropertyValue(ServletPropertySet.PORT);
        HttpResult result = new HttpResult();
        return new HttpUtils().ping(new URL("http://localhost:" + port + "/" + appName), result);
    }
View Full Code Here

TOP

Related Classes of org.codehaus.cargo.container.internal.util.HttpUtils.HttpResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.