Package com.denimgroup.threadfix.remote

Examples of com.denimgroup.threadfix.remote.HttpRestUtils


        return test(url, "test");
    }

    // 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


        manager.setKey(API_KEY);
        return manager;
    }

    public static HttpRestUtils getRestUtils() {
        return new HttpRestUtils(getPropertiesManager());
    }
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

Related Classes of com.denimgroup.threadfix.remote.HttpRestUtils

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.