public class TestClient extends Object
| Modifier and Type | Method and Description |
|---|---|
static TestClient |
create(Routing routing)
Creates new
TestClient instance with specified routing. |
static TestClient |
create(Supplier<Routing> routingBuilder)
Creates new
TestClient instance with specified routing. |
TestRequest |
path(String path)
Creates a request of provided URI path.
|
public static TestClient create(Supplier<Routing> routingBuilder)
TestClient instance with specified routing.routingBuilder - a routing builder to test; will be built as a first step of this
method executionNullPointerException - if routing parameter is nullpublic static TestClient create(Routing routing)
TestClient instance with specified routing.routing - a routing to testNullPointerException - if routing parameter is nullpublic TestRequest path(String path)
path - a path to requestCopyright © 2018–2019 Oracle Corporation. All rights reserved.