Class MarshallingModule
- java.lang.Object
-
- de.quantummaid.httpmaid.marshalling.MarshallingModule
-
- All Implemented Interfaces:
ChainModule,Configurator
public final class MarshallingModule extends Object implements ChainModule
-
-
Constructor Summary
Constructors Constructor Description MarshallingModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMarshaller(ContentType contentType, Marshaller marshaller)voidaddUnmarshaller(ContentType contentType, Unmarshaller unmarshaller)static MarshallingModuleemptyMarshallingModule()voidregister(ChainExtender extender)voidsetDefaultContentType(ContentType defaultContentType)voidsetThrowExceptionIfNoMarshallerFound(boolean throwExceptionIfNoMarshallerFound)-
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
configure, identifier
-
Methods inherited from interface de.quantummaid.httpmaid.chains.Configurator
init, supplyModulesIfNotAlreadyPresent
-
-
-
-
Method Detail
-
emptyMarshallingModule
public static MarshallingModule emptyMarshallingModule()
-
addUnmarshaller
public void addUnmarshaller(ContentType contentType, Unmarshaller unmarshaller)
-
addMarshaller
public void addMarshaller(ContentType contentType, Marshaller marshaller)
-
setDefaultContentType
public void setDefaultContentType(ContentType defaultContentType)
-
setThrowExceptionIfNoMarshallerFound
public void setThrowExceptionIfNoMarshallerFound(boolean throwExceptionIfNoMarshallerFound)
-
register
public void register(ChainExtender extender)
- Specified by:
registerin interfaceChainModule
-
-