-
Methods in io.activej.codec.registry that return CodecRegistry
| Modifier and Type |
Method |
Description |
static CodecRegistry |
CodecRegistry.create() |
Creates a new completely empty registry.
|
static CodecRegistry |
CodecRegistry.createDefault() |
Creates a registry with a set of default codecs - primitives, some Java types, collections, ActiveJ tuples.
|
<T> CodecRegistry |
CodecRegistry.with(Class<T> type,
StructuredCodec<T> codec) |
|
<T> CodecRegistry |
CodecRegistry.with(Class<T> type,
Function<CodecFactory,StructuredCodec<T>> codec) |
|
<T> CodecRegistry |
CodecRegistry.withGeneric(Class<T> type,
BiFunction<CodecFactory,StructuredCodec<Object>[],StructuredCodec<? extends T>> fn) |
|
<T> CodecRegistry |
CodecRegistry.withSubtypesOf(Class<T> type) |
|
<T> CodecRegistry |
CodecRegistry.withSubtypesOf(Class<T> type,
Function<Class<? extends T>,@Nullable String> subtypeNameFactory) |
|