Uses of Class
io.activej.codec.CodecSubtype
| Package | Description |
|---|---|
| io.activej.codec |
-
Uses of CodecSubtype in io.activej.codec
Methods in io.activej.codec that return CodecSubtype Modifier and Type Method Description static <T> CodecSubtype<T>CodecSubtype. create()CodecSubtype<T>CodecSubtype. with(Type type, StructuredCodec<? extends T> adapter)Add a subtype along with its codec and string tag which is extracted from the class nameCodecSubtype<T>CodecSubtype. with(Type type, String name, StructuredCodec<? extends T> adapter)Add a subtype along with its codec and custom string tagCodecSubtype<T>CodecSubtype. withTagName(String tagName)CodecSubtype<T>CodecSubtype. withTagName(String tagName, String dataName)