public class IOStreamUtils extends Object
Constructor and Description |
---|
IOStreamUtils(MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
String |
readInputStreamToString(javax.servlet.ServletRequest request) |
static String |
readInputStreamToString(Socket socket) |
void |
writeToOutputStream(byte[] data,
javax.servlet.ServletResponse response) |
public IOStreamUtils(MockServerLogger mockServerLogger)
public static String readInputStreamToString(Socket socket) throws IOException
IOException
public String readInputStreamToString(javax.servlet.ServletRequest request)
public void writeToOutputStream(byte[] data, javax.servlet.ServletResponse response)
Copyright © 2020. All rights reserved.