java.lang.Object
io.helidon.webserver.testsupport.TestClient
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestClientCreates newTestClientinstance with specified routing.static TestClientCreates newTestClientinstance with specified routing.static TestClientCreates newTestClientinstance with specified routing.static TestClientCreates newTestClientinstance with specified routing.Creates a request of provided URI path.
-
Method Details
-
create
Creates newTestClientinstance with specified routing.- Parameters:
routingBuilder- a routing builder to test; will be built as a first step of this method execution- Returns:
- new instance
- Throws:
NullPointerException- if routing parameter is null
-
create
Creates newTestClientinstance with specified routing.- Parameters:
routing- a routing to testmediaContext- media context- Returns:
- new instance
- Throws:
NullPointerException- if routing parameter is null
-
create
Creates newTestClientinstance with specified routing.- Parameters:
routing- a routing to testmediaSupport- media support- Returns:
- new instance
- Throws:
NullPointerException- if routing parameter is null
-
create
Creates newTestClientinstance with specified routing.- Parameters:
routing- a routing to test- Returns:
- new instance
- Throws:
NullPointerException- if routing parameter is null
-
path
Creates a request of provided URI path.- Parameters:
path- a path to request- Returns:
- new test request builder
-