Class MultipartFactory
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.multipart.MultipartFactory
- All Implemented Interfaces:
BatchFactory<MultipartContent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBatch(de.fraunhofer.iosb.ilt.frostserver.path.Version version, CoreSettings settings, boolean isChangeSet) createPart(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, CoreSettings settings, boolean inChangeSet, String logIndent) createRequest(de.fraunhofer.iosb.ilt.frostserver.path.Version version, boolean requireContentId) Return lower-case content-type.
-
Constructor Details
-
MultipartFactory
public MultipartFactory()
-
-
Method Details
-
getContentType
Description copied from interface:BatchFactoryReturn lower-case content-type.- Specified by:
getContentTypein interfaceBatchFactory<MultipartContent>- Returns:
- the content type that this factory can handle.
-
createBatch
public Batch<MultipartContent> createBatch(de.fraunhofer.iosb.ilt.frostserver.path.Version version, CoreSettings settings, boolean isChangeSet) - Specified by:
createBatchin interfaceBatchFactory<MultipartContent>
-
createRequest
public Request createRequest(de.fraunhofer.iosb.ilt.frostserver.path.Version version, boolean requireContentId) - Specified by:
createRequestin interfaceBatchFactory<MultipartContent>
-
createPart
public Part<MultipartContent> createPart(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, CoreSettings settings, boolean inChangeSet, String logIndent) - Specified by:
createPartin interfaceBatchFactory<MultipartContent>
-