Options
All
  • Public
  • Public/Protected
  • All
Menu

Rule that directs requests based on how the data would need to be converted. In case the given converter can convert the data to the requested type, it will be directed to the convertStore. Otherwise the defaultStore will be chosen.

In case there is no data and only an identifier the defaultStore will be checked if it contains the given identifier. If not, the convertStore will be returned.

Hierarchy

Index

Constructors

constructor

Properties

Private Readonly defaultStore

defaultStore: ResourceStore

Private Readonly typedStores

typedStores: ConvertingStoreEntry[]

Methods

canHandle

Private findStore

handle

handleSafe

Private hasResource