Package de.quantummaid.httpmaid.mapmaid
Class MapMaidModule
- java.lang.Object
-
- de.quantummaid.httpmaid.mapmaid.MapMaidModule
-
- All Implemented Interfaces:
ChainModule,Configurator
public final class MapMaidModule extends Object implements ChainModule
-
-
Constructor Summary
Constructors Constructor Description MapMaidModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMarshallingTypeToResponseContentTypeMapping(ContentType contentType, de.quantummaid.mapmaid.mapper.marshalling.MarshallingType<String> marshallingType)voidaddRequestContentTypeToUnmarshallingTypeMapping(ContentType contentType, de.quantummaid.mapmaid.mapper.marshalling.MarshallingType<String> marshallingType)voidconfigure(DependencyRegistry dependencyRegistry)voiddoNotAddAggregatedExceptionHandler()static MapMaidModulemapMaidModule()voidregister(ChainExtender extender)voidsetValidationErrorStatusCode(int validationErrorStatusCode)List<ChainModule>supplyModulesIfNotAlreadyPresent()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.quantummaid.httpmaid.chains.ChainModule
identifier
-
Methods inherited from interface de.quantummaid.httpmaid.chains.Configurator
init
-
-
-
-
Method Detail
-
mapMaidModule
public static MapMaidModule mapMaidModule()
-
doNotAddAggregatedExceptionHandler
public void doNotAddAggregatedExceptionHandler()
-
addRequestContentTypeToUnmarshallingTypeMapping
public void addRequestContentTypeToUnmarshallingTypeMapping(ContentType contentType, de.quantummaid.mapmaid.mapper.marshalling.MarshallingType<String> marshallingType)
-
addMarshallingTypeToResponseContentTypeMapping
public void addMarshallingTypeToResponseContentTypeMapping(ContentType contentType, de.quantummaid.mapmaid.mapper.marshalling.MarshallingType<String> marshallingType)
-
setValidationErrorStatusCode
public void setValidationErrorStatusCode(int validationErrorStatusCode)
-
supplyModulesIfNotAlreadyPresent
public List<ChainModule> supplyModulesIfNotAlreadyPresent()
- Specified by:
supplyModulesIfNotAlreadyPresentin interfaceConfigurator
-
configure
public void configure(DependencyRegistry dependencyRegistry)
- Specified by:
configurein interfaceChainModule- Specified by:
configurein interfaceConfigurator
-
register
public void register(ChainExtender extender)
- Specified by:
registerin interfaceChainModule
-
-