Uses of Interface
io.activej.codec.registry.CodecFactory
| Package | Description |
|---|---|
| io.activej.codec.registry |
-
Uses of CodecFactory in io.activej.codec.registry
Classes in io.activej.codec.registry that implement CodecFactory Modifier and Type Class Description classCodecRegistryA registry which stores codecs by their type and allows dynamic dispatch of them.Method parameters in io.activej.codec.registry with type arguments of type CodecFactory Modifier and Type Method Description <T> CodecRegistryCodecRegistry. with(Class<T> type, Function<CodecFactory,StructuredCodec<T>> codec)<T> CodecRegistryCodecRegistry. withGeneric(Class<T> type, BiFunction<CodecFactory,StructuredCodec<Object>[],StructuredCodec<? extends T>> fn)