public final class ChannelHandlerUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Class<?>[] |
acceptedMessageTypes(Class<?>[] acceptedMsgTypes) |
static boolean |
acceptMessage(Class<?>[] acceptedMsgTypes,
Object msg) |
static void |
addToNextInboundBuffer(ChannelHandlerContext ctx,
Object msg) |
static void |
addToNextOutboundBuffer(ChannelHandlerContext ctx,
Object msg) |
static boolean |
unfoldAndAdd(ChannelHandlerContext ctx,
Object msg,
boolean inbound) |
public static boolean unfoldAndAdd(ChannelHandlerContext ctx, Object msg, boolean inbound) throws Exception
Exceptionpublic static void addToNextOutboundBuffer(ChannelHandlerContext ctx, Object msg)
public static void addToNextInboundBuffer(ChannelHandlerContext ctx, Object msg)
Copyright © 2008-2012 The Netty Project. All Rights Reserved.