public class NestedMultiDecoder<T> extends Object implements MultiDecoder<Object>
Modifier and Type | Class and Description |
---|---|
static class |
NestedMultiDecoder.DecoderState |
Modifier and Type | Field and Description |
---|---|
protected MultiDecoder<Object> |
firstDecoder |
protected MultiDecoder<Object> |
secondDecoder |
Constructor and Description |
---|
NestedMultiDecoder(MultiDecoder<Object> firstDecoder,
MultiDecoder<Object> secondDecoder) |
NestedMultiDecoder(MultiDecoder<Object> firstDecoder,
MultiDecoder<Object> secondDecoder,
MultiDecoder<Object> thirdDecoder) |
Modifier and Type | Method and Description |
---|---|
Object |
decode(io.netty.buffer.ByteBuf buf,
State state) |
Object |
decode(List<Object> parts,
State state) |
protected NestedMultiDecoder.DecoderState |
getDecoder(State state) |
boolean |
isApplicable(int paramNum,
State state) |
protected final MultiDecoder<Object> firstDecoder
protected final MultiDecoder<Object> secondDecoder
public NestedMultiDecoder(MultiDecoder<Object> firstDecoder, MultiDecoder<Object> secondDecoder)
public NestedMultiDecoder(MultiDecoder<Object> firstDecoder, MultiDecoder<Object> secondDecoder, MultiDecoder<Object> thirdDecoder)
public Object decode(io.netty.buffer.ByteBuf buf, State state) throws IOException
decode
in interface Decoder<Object>
IOException
public boolean isApplicable(int paramNum, State state)
isApplicable
in interface MultiDecoder<Object>
protected final NestedMultiDecoder.DecoderState getDecoder(State state)
Copyright © 2014–2016. All rights reserved.