public class WebEncoder
extends io.netty.handler.codec.MessageToMessageEncoder<T>
| 构造器和说明 |
|---|
WebEncoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise) |
void |
send(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, connect, deregister, disconnect, flush, readpublic void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
write 在接口中 io.netty.channel.ChannelOutboundHandlerwrite 在类中 io.netty.handler.codec.MessageToMessageEncoder<T extends Transportable>Exception@Async
public void send(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
Copyright © 2020–2022 The AIM Project. All rights reserved.