Uses of Interface
io.activej.codec.StructuredDecoder
| Package | Description |
|---|---|
| io.activej.codec | |
| io.activej.codec.binary | |
| io.activej.codec.json |
-
Uses of StructuredDecoder in io.activej.codec
Subinterfaces of StructuredDecoder in io.activej.codec Modifier and Type Interface Description interfaceStructuredCodec<T>A structured codec is an object that describes how some type T can be written intoStructuredOutputor read fromStructuredInput.Classes in io.activej.codec that implement StructuredDecoder Modifier and Type Class Description classCodecSubtype<T>This is acodecthat stores subtypes of T with different codecs as a tagged union with string tags.Methods in io.activej.codec that return StructuredDecoder Modifier and Type Method Description static <T> StructuredDecoder<T>StructuredDecoder. ofObject(StructuredDecoder<T> decoder)static <T> StructuredDecoder<T>StructuredDecoder. ofObject(Supplier<T> supplier)static <T> StructuredDecoder<T>StructuredDecoder. ofTuple(StructuredDecoder<T> decoder)Methods in io.activej.codec with parameters of type StructuredDecoder Modifier and Type Method Description static <T> StructuredCodec<T>StructuredCodec. of(StructuredDecoder<T> decoder, StructuredEncoder<T> encoder)static <T> StructuredCodec<T>StructuredCodec. ofObject(StructuredDecoder<T> decoder, StructuredEncoder<T> encoder)static <T> StructuredDecoder<T>StructuredDecoder. ofObject(StructuredDecoder<T> decoder)static <T> StructuredCodec<T>StructuredCodec. ofTuple(StructuredDecoder<T> decoder, StructuredEncoder<T> encoder)static <T> StructuredDecoder<T>StructuredDecoder. ofTuple(StructuredDecoder<T> decoder)default <T> TStructuredInput. readKey(String expectedName, StructuredDecoder<T> decoder)<T> List<T>StructuredInput. readList(StructuredDecoder<T> decoder)<K, V> Map<K,V>StructuredInput. readMap(StructuredDecoder<K> keyDecoder, StructuredDecoder<V> valueDecoder)<T> TStructuredInput. readNullable(StructuredDecoder<T> decoder)<T> TStructuredInput. readObject(StructuredDecoder<T> decoder)<T> TStructuredInput. readTuple(StructuredDecoder<T> decoder) -
Uses of StructuredDecoder in io.activej.codec.binary
Methods in io.activej.codec.binary with parameters of type StructuredDecoder Modifier and Type Method Description static <T> TBinaryUtils. decode(StructuredDecoder<T> decoder, byte[] bytes)static <T> TBinaryUtils. decode(StructuredDecoder<T> decoder, ByteBuf buf)<T> List<T>BinaryStructuredInput. readList(StructuredDecoder<T> decoder)<K, V> Map<K,V>BinaryStructuredInput. readMap(StructuredDecoder<K> keyDecoder, StructuredDecoder<V> valueDecoder)<T> TBinaryStructuredInput. readNullable(StructuredDecoder<T> decoder)<T> TBinaryStructuredInput. readObject(StructuredDecoder<T> decoder)<T> TBinaryStructuredInput. readTuple(StructuredDecoder<T> decoder) -
Uses of StructuredDecoder in io.activej.codec.json
Methods in io.activej.codec.json with parameters of type StructuredDecoder Modifier and Type Method Description static <T> TJsonUtils. fromJson(StructuredDecoder<T> decoder, String string)<T> List<T>JsonStructuredInput. readList(StructuredDecoder<T> decoder)<K, V> Map<K,V>JsonStructuredInput. readMap(StructuredDecoder<K> keyDecoder, StructuredDecoder<V> valueDecoder)<T> TJsonStructuredInput. readNullable(StructuredDecoder<T> decoder)<T> TJsonStructuredInput. readObject(StructuredDecoder<T> decoder)<T> TJsonStructuredInput. readTuple(StructuredDecoder<T> decoder)