本文整理了Java中okhttp3.mockwebserver.MockWebServer.close()
方法的一些代码示例,展示了MockWebServer.close()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MockWebServer.close()
方法的具体详情如下:
包路径:okhttp3.mockwebserver.MockWebServer
类名称:MockWebServer
方法名:close
暂无
代码示例来源:origin: square/okhttp
@Override public void close() {
if (mockWebServer == null) throw new IllegalStateException();
try {
mockWebServer.close();
} catch (IOException ignored) {
}
}
}
代码示例来源:origin: ctripcorp/apollo
@Override
protected void after() {
try {
clear();
server.close();
} catch (Exception e) {
logger.error("stop apollo server error", e);
}
}
代码示例来源:origin: prestodb/presto
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: prestodb/presto
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: prestodb/presto
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: SonarSource/sonarqube
@After
public void stop() throws Exception {
server.close();
}
代码示例来源:origin: io.prestosql/presto-cli
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: com.facebook.presto/presto-jdbc
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: com.facebook.presto/presto-jdbc
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: prestosql/presto
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: prestosql/presto
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: io.prestosql/presto-jdbc
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: io.prestosql/presto-jdbc
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: prestosql/presto
@AfterMethod
public void teardown()
throws IOException
{
server.close();
}
代码示例来源:origin: xjdr/xio
@After
public void tearDown() throws Exception {
server.close();
}
代码示例来源:origin: xjdr/xio
@After
public void afterEach() throws Exception {
awsDeployment.close();
zookeeper.close();
exhibitor.close();
metaDataService.close();
}
代码示例来源:origin: xjdr/xio
@After
public void tearDown() throws Exception {
aggressivelyCloseClients();
if (reverseProxy != null) {
reverseProxy.stop();
}
if (backEnd1 != null) {
backEnd1.close();
}
if (backEnd2 != null) {
backEnd2.close();
}
}
代码示例来源:origin: matomo-org/piwik-sdk-android
@After
public void tearDown() throws Exception {
mMockWebServer.close();
super.tearDown();
}
代码示例来源:origin: matomo-org/matomo-sdk-android
@After
public void tearDown() throws Exception {
mMockWebServer.close();
super.tearDown();
}
代码示例来源:origin: xjdr/xio
@After
public void tearDown() throws Exception {
client.connectionPool().evictAll();
if (edgeProxy != null) {
edgeProxy.close();
}
server.close();
}
内容来源于网络,如有侵权,请联系作者删除!