public interface ServerPushProtocol extends Protocol
| Modifier and Type | Method and Description |
|---|---|
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, createRequest, createResponse, decode, decodeRequest, decodeResponse, encodeRequest, encodeResponse, getRequest, getResponse, isCoexistence, returnChannelBeforeResponse, supportHeartbeatSPHead createSPHead()
SPHead headFromByteBuf(io.netty.buffer.ByteBuf buf) throws BadSchemaException
BadSchemaExceptionio.netty.buffer.ByteBuf headToBytes(SPHead spHead)
Copyright © 2020 Baidu, Inc.. All rights reserved.