Example usage for io.netty.handler.codec.redis FullBulkStringRedisMessage content

List of usage examples for io.netty.handler.codec.redis FullBulkStringRedisMessage content

Introduction

In this page you can find the example usage for io.netty.handler.codec.redis FullBulkStringRedisMessage content.

Prototype

@Override
    public ByteBuf content() 

Source Link

Usage

From source file:com.flysoloing.learning.network.netty.redis.RedisClientHandler.java

License:Apache License

private static String getString(FullBulkStringRedisMessage msg) {
    if (msg.isNull()) {
        return "(null)";
    }//from w  w w.  j  a v a  2 s .  co m
    return msg.content().toString(CharsetUtil.UTF_8);
}