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

Examples of io.reactivex.netty.examples.http.helloworld.HelloWorldClient


        server.shutdown();
    }

    @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


        server.shutdown();
    }

    @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

Related Classes of io.reactivex.netty.examples.http.helloworld.HelloWorldClient

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.