public static class NettyHttp2Client.HttpResponseHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>
FullHttpResponse translated from HTTP/2 frames| 构造器和说明 |
|---|
HttpResponseHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<Integer,NettyHttp2Client.H2Response> |
getStreamIdPromiseMap() |
NettyHttp2Client.H2Response |
put(int streamId,
NettyHttp2Client.H2Response promise)
Create an association between an anticipated response stream id and a
ChannelPromise |
String |
toString() |
public NettyHttp2Client.H2Response put(int streamId, NettyHttp2Client.H2Response promise)
ChannelPromisestreamId - The stream for which a response is expectedpromise - The promise object that will be used to wait/notify eventsstreamIdpublic Map<Integer,NettyHttp2Client.H2Response> getStreamIdPromiseMap()
Copyright © 2021. All rights reserved.