Package com.denimgroup.threadfix.remote

Examples of com.denimgroup.threadfix.remote.HttpRestUtils.httpGet()


    }

    // the UI validation should ensure that the /rest part of the returned url is valid.
    public static RestResponse<Object> test(String url, String key) {
      HttpRestUtils utils = new HttpRestUtils(EclipsePropertiesManager.INSTANCE);
        return utils.httpGet(Constants.MARKERS_URL_SEGMENT + "0");
    }

}
View Full Code Here


        PropertiesManager tempManager = new PropertiesManager();
        tempManager.setKey(key);
        tempManager.setUrl(url);

        HttpRestUtils utils = new HttpRestUtils(tempManager);
        return utils.httpGet(Constants.MARKERS_URL_SEGMENT + "0");
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.