public class HTTP2Client extends AbstractLifeCycle
start| 构造器和说明 |
|---|
HTTP2Client(HTTP2Configuration http2Configuration) |
| 限定符和类型 | 方法和说明 |
|---|---|
Promise.Completable<HTTPClientConnection> |
connect(String host,
int port) |
void |
connect(String host,
int port,
Promise<HTTPClientConnection> promise) |
void |
connect(String host,
int port,
Promise<HTTPClientConnection> promise,
Session.Listener listener) |
protected void |
destroy() |
HTTP2Configuration |
getHttp2Configuration() |
protected void |
init() |
isStarted, isStopped, start, stoppublic HTTP2Client(HTTP2Configuration http2Configuration)
public Promise.Completable<HTTPClientConnection> connect(String host, int port)
public void connect(String host, int port, Promise<HTTPClientConnection> promise)
public void connect(String host, int port, Promise<HTTPClientConnection> promise, Session.Listener listener)
public HTTP2Configuration getHttp2Configuration()
protected void init()
init 在类中 AbstractLifeCycleprotected void destroy()
destroy 在类中 AbstractLifeCycleCopyright © 2017. All rights reserved.