Package de.mhus.cherry.web.api
Class TypeHeaderDynamic.Factory
- java.lang.Object
-
- de.mhus.cherry.web.api.TypeHeaderDynamic.Factory
-
- All Implemented Interfaces:
TypeHeaderFactory
- Enclosing class:
- TypeHeaderDynamic
public static class TypeHeaderDynamic.Factory extends Object implements TypeHeaderFactory
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeHeadercreate(de.mhus.lib.core.config.IConfig header)Return a header object if the factory is able to handle the header type.
-
-
-
Method Detail
-
create
public TypeHeader create(de.mhus.lib.core.config.IConfig header) throws de.mhus.lib.errors.MException
Description copied from interface:TypeHeaderFactoryReturn a header object if the factory is able to handle the header type.- Specified by:
createin interfaceTypeHeaderFactory- Returns:
- a typeheader if the config is accepted
- Throws:
de.mhus.lib.errors.MException
-
-