public interface ServerPushProtocol extends Protocol
| 限定符和类型 | 方法和说明 |
|---|---|
SPHead |
createSPHead() |
Response |
decodeServerPushResponse(Object in,
io.netty.channel.ChannelHandlerContext ctx) |
SPHead |
headFromByteBuf(io.netty.buffer.ByteBuf buf) |
io.netty.buffer.ByteBuf |
headToBytes(SPHead spHead) |
afterResponseSent, beforeRequestSent, createRequest, createResponse, decode, decodeRequest, decodeResponse, encodeRequest, encodeResponse, getRequest, getResponse, isCoexistence, returnChannelBeforeResponseSPHead createSPHead()
SPHead headFromByteBuf(io.netty.buffer.ByteBuf buf) throws BadSchemaException
io.netty.buffer.ByteBuf headToBytes(SPHead spHead)
Copyright © 2019 Baidu, Inc.. All rights reserved.