本文整理了Java中io.vertx.core.MultiMap.clear()
方法的一些代码示例,展示了MultiMap.clear()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MultiMap.clear()
方法的具体详情如下:
包路径:io.vertx.core.MultiMap
类名称:MultiMap
方法名:clear
[英]Removes all
[中]删除所有
代码示例来源:origin: eclipse-vertx/vert.x
@Test
public void testClearTest1()
throws Exception {
MultiMap mmap = newMultiMap();
MultiMap result = mmap.clear();
assertNotNull(result);
assertTrue(result.isEmpty());
assertEquals(0, result.size());
assertEquals("", result.toString());
}
代码示例来源:origin: advantageous/qbit
@Override
public void clear() {
vertxMap.clear();
}
代码示例来源:origin: vert-x3/vertx-web
request.params().clear();
response().headers().clear();
代码示例来源:origin: io.vertx/vertx-rx-java
/**
* Removes all
* @return a reference to this, so the API can be used fluently
*/
public io.vertx.rxjava.core.MultiMap clear() {
delegate.clear();
return this;
}
代码示例来源:origin: vert-x3/vertx-rx
/**
* Removes all
* @return a reference to this, so the API can be used fluently
*/
public io.vertx.rxjava.core.MultiMap clear() {
delegate.clear();
return this;
}
代码示例来源:origin: io.advantageous.qbit/qbit-vertx
@Override
public void clear() {
vertxMap.clear();
}
代码示例来源:origin: io.vertx/vertx-core
@Test
public void testClearTest1()
throws Exception {
MultiMap mmap = newMultiMap();
MultiMap result = mmap.clear();
assertNotNull(result);
assertTrue(result.isEmpty());
assertEquals(0, result.size());
assertEquals("", result.toString());
}
代码示例来源:origin: io.vertx/vertx-web
request.params().clear();
response().headers().clear();
代码示例来源:origin: vietj/vertx-http-proxy
@Override
public void cancel() {
checkSent();
sent = true;
frontResponse.headers().clear();
frontResponse.endHandler(null);
backResponse.resume();
}
代码示例来源:origin: vietj/vertx-http-proxy
public ProxyResponse set(HttpClientResponse backResponse) {
checkSent();
frontResponse.headers().clear();
this.backResponse = backResponse;
代码示例来源:origin: org.swisspush/gateleen-validation
}else {
if(isFailOnError()) {
req.response().headers().clear();
req.response().setStatusCode(StatusCode.BAD_REQUEST.getStatusCode());
req.response().setStatusMessage(event.getMessage());
代码示例来源:origin: io.vertx/vertx-web-client
req.queryParams().clear();
Async async = context.async();
req.send(ar -> {
内容来源于网络,如有侵权,请联系作者删除!