Package com.github.restdriver.serverdriver.http.request

Examples of com.github.restdriver.serverdriver.http.request.HttpGetWithEntity


     * @param url The URL of a resource. Accepts any Object and calls .toString() on it.
     * @param modifiers Optional HTTP headers to put on the request.
     * @return A Response encapsulating the server's reply.
     */
    public static Response get(Object url, AnyRequestModifier... modifiers) {
        ServerDriverHttpUriRequest request = new ServerDriverHttpUriRequest(new HttpGetWithEntity(url.toString()));
        applyModifiersToRequest(modifiers, request);
        return doHttpRequest(request);
    }
View Full Code Here

TOP

Related Classes of com.github.restdriver.serverdriver.http.request.HttpGetWithEntity

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.