Class BinaryEntityDefinition.Builder
java.lang.Object
com.github.tomakehurst.wiremock.common.entity.BinaryEntityDefinition.Builder
- All Implemented Interfaces:
EntityDefinition.Builder<BinaryEntityDefinition>
- Enclosing class:
- BinaryEntityDefinition
public static class BinaryEntityDefinition.Builder
extends Object
implements EntityDefinition.Builder<BinaryEntityDefinition>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withBody(byte[] data) withBodyBase64(String base64Data) withCompression(CompressionType compression) withDataRef(String dataRef) withDataStore(String dataStore) withFilePath(String filePath)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withCompression
-
withDataStore
-
withDataRef
-
withBody
-
withBodyBase64
-
withFilePath
-
build
- Specified by:
buildin interfaceEntityDefinition.Builder<BinaryEntityDefinition>
-