Search in sources :

Example 1 with HttpServer

use of org.asynchttpclient.testserver.HttpServer in project async-http-client by AsyncHttpClient.

the class BasicHttpTest method start.

@BeforeClass
public static void start() throws Throwable {
    server = new HttpServer();
    server.start();
}
Also used : HttpServer(org.asynchttpclient.testserver.HttpServer) BeforeClass(org.testng.annotations.BeforeClass)

Example 2 with HttpServer

use of org.asynchttpclient.testserver.HttpServer in project async-http-client by AsyncHttpClient.

the class BasicHttpsTest method start.

@BeforeClass
public static void start() throws Throwable {
    server = new HttpServer();
    server.start();
}
Also used : HttpServer(org.asynchttpclient.testserver.HttpServer) BeforeClass(org.testng.annotations.BeforeClass)

Example 3 with HttpServer

use of org.asynchttpclient.testserver.HttpServer in project async-http-client by AsyncHttpClient.

the class AsyncStreamHandlerTest method start.

@BeforeClass
public static void start() throws Throwable {
    server = new HttpServer();
    server.start();
}
Also used : HttpServer(org.asynchttpclient.testserver.HttpServer) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

HttpServer (org.asynchttpclient.testserver.HttpServer)3 BeforeClass (org.testng.annotations.BeforeClass)3