共用方式為


TestProxyTestServer Class

  • java.lang.Object
    • com.azure.core.test.http.TestProxyTestServer

Implements

public class TestProxyTestServer
implements Closeable

A simple HttpServer for unit testing the test proxy infrastructure.

Constructor Summary

Constructor Description
TestProxyTestServer()

Constructor for TestProxyTestServer

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