private void testNetClientInternal_(HttpServerOptions options, boolean expectSSL) throws Exception { waitFor(2); HttpServer server = vertx.createHttpServer(options); server.requestHandler(req -> {
private void testNetServerInternal_(HttpClientOptions clientOptions, boolean expectSSL) throws Exception { waitFor(2); server.connectHandler(so -> { NetSocketInternal internal = (NetSocketInternal) so;
@Test public void testServerNetSocketShouldBeClosedWhenTheClosedHandlerIsCalled() throws Exception { waitFor(2); server.connectHandler(so -> { CheckingSender sender = new CheckingSender(vertx.getOrCreateContext(), 2, so);
private void testNetClientInternal_(HttpServerOptions options, boolean expectSSL) throws Exception { waitFor(2); HttpServer server = vertx.createHttpServer(options); server.requestHandler(req -> {
private void testNetServerInternal_(HttpClientOptions clientOptions, boolean expectSSL) throws Exception { waitFor(2); server.connectHandler(so -> { NetSocketInternal internal = (NetSocketInternal) so;
@Test public void testServerNetSocketShouldBeClosedWhenTheClosedHandlerIsCalled() throws Exception { waitFor(2); server.connectHandler(so -> { CheckingSender sender = new CheckingSender(vertx.getOrCreateContext(), 2, so);