Package org.vertx.java.core.http

Examples of org.vertx.java.core.http.HttpClientRequest


    // create GET -> request Object
    public S3ClientRequest
            createGetRequest(String bucket,
                             String key,
                             Handler<HttpClientResponse> handler) {
        HttpClientRequest httpRequest = client.get("/" + bucket + "/" + key,
                                                   handler);
        return new S3ClientRequest("GET",
                                   bucket,
                                   key,
                                   httpRequest,
View Full Code Here


    // create DELETE -> request Object
    public S3ClientRequest
            createDeleteRequest(String bucket,
                                String key,
                                Handler<HttpClientResponse> handler) {
        HttpClientRequest httpRequest = client.delete("/" + bucket + "/" + key,
                                                      handler);
        return new S3ClientRequest("DELETE",
                                   bucket,
                                   key,
                                   httpRequest,
View Full Code Here

TOP

Related Classes of org.vertx.java.core.http.HttpClientRequest

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.