public final class ReactorNetty
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
format(io.netty.channel.Channel channel,
java.lang.String msg) |
static void |
safeRelease(java.lang.Object msg)
Try to call
ReferenceCounted.release() if the specified message implements ReferenceCounted. |
public static java.lang.String format(io.netty.channel.Channel channel,
java.lang.String msg)
public static void safeRelease(java.lang.Object msg)
ReferenceCounted.release() if the specified message implements ReferenceCounted.
If the specified message doesn't implement ReferenceCounted or it is already released,
this method does nothing.