Class TestUtil
- java.lang.Object
-
- org.jboss.resteasy.embedded.utils.TestUtil
-
public class TestUtil extends Object
Base util class for Embedded server testing.
-
-
Constructor Summary
Constructors Constructor Description TestUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
readString(InputStream in)
Convert input stream to String.
-
-
-
Method Detail
-
readString
public static String readString(InputStream in) throws IOException
Convert input stream to String.- Parameters:
in
- Input stream- Returns:
- Converted string
- Throws:
IOException
-
-