Class BlobStoreBinaryFile
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.BinaryFile
-
- com.github.tomakehurst.wiremock.store.files.BlobStoreBinaryFile
-
- All Implemented Interfaces:
InputStreamSource
public class BlobStoreBinaryFile extends BinaryFile
-
-
Constructor Summary
Constructors Constructor Description BlobStoreBinaryFile(BlobStore blobStore, java.lang.String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getStream()
java.lang.String
name()
byte[]
readContents()
java.lang.String
toString()
-
Methods inherited from class com.github.tomakehurst.wiremock.common.BinaryFile
getUri
-
-
-
-
Constructor Detail
-
BlobStoreBinaryFile
public BlobStoreBinaryFile(BlobStore blobStore, java.lang.String path)
-
-
Method Detail
-
readContents
public byte[] readContents()
- Overrides:
readContents
in classBinaryFile
-
name
public java.lang.String name()
- Overrides:
name
in classBinaryFile
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBinaryFile
-
getStream
public java.io.InputStream getStream()
- Specified by:
getStream
in interfaceInputStreamSource
- Overrides:
getStream
in classBinaryFile
-
-