Examples of YokeTester


Examples of com.jetdrone.vertx.yoke.test.YokeTester

                request.response().putHeader("Content-Disposition", "attachment; filename=somefile.txt");
                request.response().end("hello");
            }
        });

        new YokeTester(app).request("GET", "/", new Handler<Response>() {
            @Override
            public void handle(Response response) {
                assertEquals(response.headers().get("X-Download-Options"), "noopen");
                testComplete();
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.