Class TestWebClient
- java.lang.Object
-
- org.opendaylight.infrautils.testutils.web.TestWebClient
-
public class TestWebClient extends Object
HTTP Client.- Author:
- Michael Vorburger.ch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestWebClient.Method
-
Constructor Summary
Constructors Constructor Description TestWebClient(String baseURL)
TestWebClient(TestWebServer webServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponse
request(TestWebClient.Method httpMethod, String path)
-
-
-
Constructor Detail
-
TestWebClient
public TestWebClient(TestWebServer webServer)
-
TestWebClient
public TestWebClient(String baseURL)
-
-
Method Detail
-
request
public HttpResponse request(TestWebClient.Method httpMethod, String path) throws IOException
- Throws:
IOException
-
-