public class MockHttpClient extends AbstractMockClient
| Constructor and Description |
|---|
MockHttpClient(InetSocketAddress restAddress)
Create a new HTTP Mock command client.
|
| Modifier and Type | Method and Description |
|---|---|
MockResponse |
request(MockRequest request)
Sends a mock command to the mock
|
negotiate, shutdownpublic MockHttpClient(@NotNull
InetSocketAddress restAddress)
restAddress - The address of the REST server@NotNull public MockResponse request(@NotNull MockRequest request) throws IOException
AbstractMockClientrequest in class AbstractMockClientrequest - The command to sendIOException - if an I/O error occursCopyright © 2017. All rights reserved.