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 java.lang.Object implements InputStreamSource
-
-
Constructor Summary
Constructors Constructor Description ByteArrayInputStreamSource(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getStream()
-
-
-
Method Detail
-
getStream
public java.io.InputStream getStream()
- Specified by:
getStream
in interfaceInputStreamSource
-
-