Builder

class Builder

Constructors

Link copied to clipboard
constructor()
constructor(registry: ComponentRegistry)

Functions

Link copied to clipboard

Register a Decoder.Factory.

inline fun <T : Any> add(factory: Fetcher.Factory<T>): ComponentRegistry.Builder

Register a Fetcher.Factory.

Append an Interceptor to the end of the list.

inline fun <T : Any> add(keyer: Keyer<T>): ComponentRegistry.Builder
fun <T : Any> add(keyer: Keyer<T>, type: KClass<T>): ComponentRegistry.Builder

Register a Keyer.

inline fun <T : Any> add(mapper: Mapper<T, *>): ComponentRegistry.Builder
fun <T : Any> add(mapper: Mapper<T, *>, type: KClass<T>): ComponentRegistry.Builder

Register a Mapper.

Link copied to clipboard
Link copied to clipboard

Register a factory of Fetcher.Factorys.

Link copied to clipboard