io.vertx.core.http.HttpConnection.shutdown()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(121)

本文整理了Java中io.vertx.core.http.HttpConnection.shutdown()方法的一些代码示例,展示了HttpConnection.shutdown()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpConnection.shutdown()方法的具体详情如下:
包路径:io.vertx.core.http.HttpConnection
类名称:HttpConnection
方法名:shutdown

HttpConnection.shutdown介绍

[英]Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current active streams are closed or after a time out of 30 seconds.

This is not implemented for HTTP/1.x.
[中]启动连接关闭,当所有当前活动流关闭或超过30秒后,发送离开帧并关闭连接。
这不是为HTTP/1实现的。十、

代码示例

代码示例来源:origin: eclipse-vertx/vert.x

complete();
});
conn.shutdown();

代码示例来源:origin: io.vertx/vertx-rx-java

/**
 * Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current active streams
 * are closed or after a time out of 30 seconds.
 * <p/>
 * This is not implemented for HTTP/1.x.
 * @return a reference to this, so the API can be used fluently
 */
public io.vertx.rxjava.core.http.HttpConnection shutdown() { 
 delegate.shutdown();
 return this;
}

代码示例来源:origin: io.vertx/vertx-core

complete();
});
conn.shutdown();

代码示例来源:origin: io.vertx/vertx-rx-java

/**
 * Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current streams
 * will be closed or the <code>timeout</code> is fired.
 * <p/>
 * This is not implemented for HTTP/1.x.
 * @param timeoutMs the timeout in milliseconds
 * @return a reference to this, so the API can be used fluently
 */
public io.vertx.rxjava.core.http.HttpConnection shutdown(long timeoutMs) { 
 delegate.shutdown(timeoutMs);
 return this;
}

代码示例来源:origin: vert-x3/vertx-rx

/**
 * Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current active streams
 * are closed or after a time out of 30 seconds.
 * <p/>
 * This is not implemented for HTTP/1.x.
 * @return a reference to this, so the API can be used fluently
 */
public io.vertx.rxjava.core.http.HttpConnection shutdown() { 
 delegate.shutdown();
 return this;
}

代码示例来源:origin: vert-x3/vertx-rx

/**
 * Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current streams
 * will be closed or the <code>timeout</code> is fired.
 * <p/>
 * This is not implemented for HTTP/1.x.
 * @param timeoutMs the timeout in milliseconds
 * @return a reference to this, so the API can be used fluently
 */
public io.vertx.rxjava.core.http.HttpConnection shutdown(long timeoutMs) { 
 delegate.shutdown(timeoutMs);
 return this;
}

相关文章