Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.englishtown.vertx.promises;
 
 
 import java.net.URI;

Created with IntelliJ IDEA. User: adriangonzalez Date: 7/25/13 Time: 12:01 PM To change this template use File | Settings | File Templates.
public interface WhenHttpClient {

    
Send a Vertx http client request and returns a promise

Parameters:
method the http method (GET, PUT, POST etc.)
url the java.net.URI to send the request to
Returns:
a promise for the HttpClientResponse
            String method,
            URI url);

    
Send a Vertx http client request and returns a promise

Parameters:
method the http method (GET, PUT, POST etc.)
url the absolute java.net.URI to send the request to
setupHandler optional setup handler. If provided it must call end() on the org.vertx.java.core.http.HttpClientRequest
Returns:
a promise for the HttpClientResponse
            String method,
            URI url,
            Handler<HttpClientRequestsetupHandler);

    
Send a Vertx http client request and returns a promise

Parameters:
method the http method (GET, PUT, POST etc.)
url the url to send the request to
client the vertx http client to use
Returns:
a promise for the HttpClientResponse
            String method,
            String url,
            HttpClient client);

    
Send a Vertx http client request and returns a promise

Parameters:
method the http method (GET, PUT, POST etc.)
url the url to send the request to
client the vertx http client to use
setupHandler optional setup handler. If provided it must call end() on the org.vertx.java.core.http.HttpClientRequest
Returns:
a promise for the HttpClientResponse
            String method,
            String url,
            HttpClient client,
            Handler<HttpClientRequestsetupHandler);
New to GrepCode? Check out our FAQ X