TestProxyTestServer Class
- java.
lang. Object - com.
azure. core. test. http. TestProxyTestServer
- com.
Implements
public class TestProxyTestServer
implements Closeable
A simple HttpServer for unit testing the test proxy infrastructure.
Constructor Summary
Constructor | Description |
---|---|
TestProxyTestServer() |
Constructor for Test |
Method Summary
Modifier and Type | Method and Description |
---|---|
void | close() |
int |
port()
Get the port of the server. |
Methods inherited from java.lang.Object
Constructor Details
TestProxyTestServer
public TestProxyTestServer()
Constructor for TestProxyTestServer
Method Details
close
public void close()
port
public int port()
Get the port of the server.
Returns:
The port of the server.