public static enum Replier.NOPDecoder extends Enum<Replier.NOPDecoder> implements Replier.Decoder<Void>
| 枚举常量和说明 |
|---|
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
Void |
decode(io.netty.buffer.ByteBuf buf)
解码响应
|
long |
expectLength()
期待的长度值,小于 0 时不验证
|
static Replier.NOPDecoder |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Replier.NOPDecoder[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Replier.NOPDecoder INSTANCE
public static Replier.NOPDecoder[] values()
for (Replier.NOPDecoder c : Replier.NOPDecoder.values()) System.out.println(c);
public static Replier.NOPDecoder valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public long expectLength()
Replier.DecoderexpectLength 在接口中 Replier.Decoder<Void>public Void decode(io.netty.buffer.ByteBuf buf)
Replier.Decoderdecode 在接口中 Replier.Decoder<Void>Copyright © 2017. All rights reserved.