Package io.reactivex.netty.examples.http.helloworld

Examples of io.reactivex.netty.examples.http.helloworld.HelloWorldClient.sendHelloRequest()


    }

    @Test
    public void testRequestReplySequence() throws InterruptedException, ExecutionException, TimeoutException {
        HelloWorldClient client = new HelloWorldClient(DEFAULT_PORT); // The client is no different than hello world.
        HttpResponseStatus statusCode = client.sendHelloRequest().getStatus();
        Assert.assertEquals(HttpResponseStatus.OK, statusCode);
    }
}
View Full Code Here


    }

    @Test
    public void testRequestReplySequence() throws InterruptedException, ExecutionException, TimeoutException {
        HelloWorldClient client = new HelloWorldClient(DEFAULT_PORT); // The client is no different than hello world.
        HttpResponseStatus statusCode = client.sendHelloRequest().getStatus();
        Assert.assertEquals(HttpResponseStatus.OK, statusCode);
    }
}
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.