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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java