public interface CodecRegistry
Codecs.| Modifier and Type | Method and Description |
|---|---|
CodecRegistry |
addFirst(Codec<?> codec)
Register codec before all other codecs.
|
CodecRegistry |
addLast(Codec<?> codec)
Register codec after all other codecs.
|
CodecRegistry addFirst(Codec<?> codec)
codec - the codec to registerCodecRegistryIllegalArgumentException - if codec is nullCodecRegistry addLast(Codec<?> codec)
codec - the codec to registerCodecRegistryIllegalArgumentException - if codec is nullCopyright © 2018–2023 asyncer.io. All rights reserved.