Class StreamSources.ByteArrayInputStreamSource
java.lang.Object
com.github.tomakehurst.wiremock.common.StreamSources.ByteArrayInputStreamSource
- All Implemented Interfaces:
InputStreamSource
- Direct Known Subclasses:
StreamSources.StringInputStreamSource
- Enclosing class:
- StreamSources
public static class StreamSources.ByteArrayInputStreamSource
extends Object
implements InputStreamSource
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ByteArrayInputStreamSource
public ByteArrayInputStreamSource(byte[] bytes)
-
-
Method Details
-
getStream
- Specified by:
getStream
in interfaceInputStreamSource
-