@ChannelHandler.Sharable public class Http2EmptyHandler extends ChannelDuplexHandler
ChannelHandler.Sharable| 限定符和类型 | 字段和说明 |
|---|---|
static Http2EmptyHandler |
INSTANCE |
static String |
NAME |
| 限定符 | 构造器和说明 |
|---|---|
private |
Http2EmptyHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readchannelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerAdded, handlerRemovedpublic static Http2EmptyHandler INSTANCE
public static String NAME
public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception
write 在接口中 ChannelOutboundHandlerwrite 在类中 ChannelDuplexHandlerExceptionCopyright © 2021 Zodiac. All rights reserved.