Package com.englishtown.vertx.promises

Examples of com.englishtown.vertx.promises.RequestOptions


    }

    @Test
    public void testGetStream() throws Exception {

        RequestOptions options = new RequestOptions().setPauseResponse(true);

        whenHttpClient.request(HttpMethod.GET, BASE_PATH + "/stream", options)
                .then(response -> {
                    assertEquals(200, response.statusCode());
                    assertNull(response.headers().get(HttpHeaders.Names.TRANSFER_ENCODING));
View Full Code Here

TOP

Related Classes of com.englishtown.vertx.promises.RequestOptions

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.