Interface Extension
- All Known Implementing Classes:
Config, EmptyExtension, GsonCompatibilityMode, JacksonCompatibilityMode
public interface Extension
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCan this extension create object instance for given interface typechooseImplementation(Type type) Choose the implementation class for interface typesCreate object instance for given interface typecreateDecoder(String cacheKey, Type type) Customize type decodingcreateEncoder(String cacheKey, Type type) Customize type encodingvoidUpdate how binding is done for the class
-
Method Details
-
chooseImplementation
-
canCreate
Can this extension create object instance for given interface type- Parameters:
clazz- the interface- Returns:
- true if can create, false if can not
-
create
-
createDecoder
-
createEncoder
-
updateClassDescriptor
Update how binding is done for the class- Parameters:
desc- binding information
-