public interface H2TransportListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancelByRemote(long errorCode) |
void |
onData(io.netty.buffer.ByteBuf data,
boolean endStream)
Transport data
|
void |
onHeader(io.netty.handler.codec.http2.Http2Headers headers,
boolean endStream)
Transport metadata
|
void onHeader(io.netty.handler.codec.http2.Http2Headers headers,
boolean endStream)
headers - metadata KV parisendStream - whether this data should terminate the streamvoid onData(io.netty.buffer.ByteBuf data,
boolean endStream)
data - raw byte arrayendStream - whether this data should terminate the streamvoid cancelByRemote(long errorCode)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.